summaryrefslogtreecommitdiff
path: root/aisa
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-06-27 18:29:04 -0700
committerJulian Blake Kongslie2022-06-27 18:29:04 -0700
commit91adc28662d5ad75c7f8435d1e3aefbe4e696d10 (patch)
tree7815ea0a5772e7a668f1ef011b2759b109c578f8 /aisa
parentIWYU check on top-level headers. (diff)
downloadissim-91adc28662d5ad75c7f8435d1e3aefbe4e696d10.tar.xz
Use megabyte-sized pages in PagedMem by default.
Diffstat (limited to 'aisa')
-rw-r--r--aisa/simple-models.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/aisa/simple-models.h b/aisa/simple-models.h
index 89e8752..62b5388 100644
--- a/aisa/simple-models.h
+++ b/aisa/simple-models.h
@@ -14,7 +14,7 @@
14 14
15namespace aisa { 15namespace aisa {
16 16
17 template<unsigned int PAGE_BITS=10> struct PagedMem { 17 template<unsigned int PAGE_BITS=20> struct PagedMem {
18 using page_t = std::array<byte_t, 1 << PAGE_BITS>; 18 using page_t = std::array<byte_t, 1 << PAGE_BITS>;
19 19
20 static const addr_t PAGE_SIZE = 1 << PAGE_BITS; 20 static const addr_t PAGE_SIZE = 1 << PAGE_BITS;