summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-07-19 02:22:28 -0300
committerGravatar Yuri Kunde Schlesner2015-08-16 01:03:44 -0300
commitccab02c72332d62c78f376be10f21044b5b226aa (patch)
tree1047bc05437d6a81a342b0de0b7218aee190fc5a /src/core/memory.h
parentVMManager: Introduce names for used ResultCodes (diff)
downloadyuzu-ccab02c72332d62c78f376be10f21044b5b226aa.tar.gz
yuzu-ccab02c72332d62c78f376be10f21044b5b226aa.tar.xz
yuzu-ccab02c72332d62c78f376be10f21044b5b226aa.zip
Memory: Move PAGE_MASK and PAGE_BITS to memory.h
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 418609de0..2a06cc6c3 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -15,6 +15,8 @@ namespace Memory {
15 * be mapped. 15 * be mapped.
16 */ 16 */
17const u32 PAGE_SIZE = 0x1000; 17const u32 PAGE_SIZE = 0x1000;
18const u32 PAGE_MASK = PAGE_SIZE - 1;
19const int PAGE_BITS = 12;
18 20
19/// Physical memory regions as seen from the ARM11 21/// Physical memory regions as seen from the ARM11
20enum : PAddr { 22enum : PAddr {