diff options
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 2 |
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 | */ |
| 17 | const u32 PAGE_SIZE = 0x1000; | 17 | const u32 PAGE_SIZE = 0x1000; |
| 18 | const u32 PAGE_MASK = PAGE_SIZE - 1; | ||
| 19 | const int PAGE_BITS = 12; | ||
| 18 | 20 | ||
| 19 | /// Physical memory regions as seen from the ARM11 | 21 | /// Physical memory regions as seen from the ARM11 |
| 20 | enum : PAddr { | 22 | enum : PAddr { |