diff options
| author | 2015-05-12 23:38:56 -0300 | |
|---|---|---|
| committer | 2015-05-15 00:04:43 -0300 | |
| commit | dd4430609afce172542fba1d2cd53c3029f182ce (patch) | |
| tree | a04ba64d18dd163709b1cb4b4212afaca6c091a6 /src/core/memory.h | |
| parent | Memory: Read SharedPage directly from Memory::Read (diff) | |
| download | yuzu-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.h | 4 |
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 | ||
| 9 | namespace Memory { | 9 | namespace 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 | */ | ||
| 11 | const u32 PAGE_SIZE = 0x1000; | 15 | const u32 PAGE_SIZE = 0x1000; |
| 12 | 16 | ||
| 13 | /// Physical memory regions as seen from the ARM11 | 17 | /// Physical memory regions as seen from the ARM11 |