aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2015-05-12 23:38:56 -0300
committerGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2015-05-15 00:04:43 -0300
commitdd4430609afce172542fba1d2cd53c3029f182ce (patch)
treea04ba64d18dd163709b1cb4b4212afaca6c091a6 /src/core/memory.h
parent52158c1b8dccd3b469ab502a42a46a1d277928aa (diff)
Memory: Use a table based lookup scheme to read from memory regions
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 5ae7784e..2d225801 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -8,6 +8,10 @@
namespace Memory {
+/**
+ * Page size used by the ARM architecture. This is the smallest granularity with which memory can
+ * be mapped.
+ */
const u32 PAGE_SIZE = 0x1000;
/// Physical memory regions as seen from the ARM11