summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-05-12 23:38:56 -0300
committerGravatar Yuri Kunde Schlesner2015-05-15 00:04:43 -0300
commitdd4430609afce172542fba1d2cd53c3029f182ce (patch)
treea04ba64d18dd163709b1cb4b4212afaca6c091a6 /src/core/memory.h
parentMemory: Read SharedPage directly from Memory::Read (diff)
downloadyuzu-dd4430609afce172542fba1d2cd53c3029f182ce.tar.gz
yuzu-dd4430609afce172542fba1d2cd53c3029f182ce.tar.xz
yuzu-dd4430609afce172542fba1d2cd53c3029f182ce.zip
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 5ae7784e0..2d225801b 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -8,6 +8,10 @@
8 8
9namespace Memory { 9namespace Memory {
10 10
11/**
12 * Page size used by the ARM architecture. This is the smallest granularity with which memory can
13 * be mapped.
14 */
11const u32 PAGE_SIZE = 0x1000; 15const u32 PAGE_SIZE = 0x1000;
12 16
13/// Physical memory regions as seen from the ARM11 17/// Physical memory regions as seen from the ARM11