diff options
| author | 2022-02-21 12:36:34 -0800 | |
|---|---|---|
| committer | 2022-02-21 13:07:19 -0800 | |
| commit | c0e45a3c787df9c4c7c99b79a34d31a394bf7b49 (patch) | |
| tree | 20c12370bcb7417b8fc17d4fb5768b700edca7be /src/core/device_memory.h | |
| parent | settings: Add a new "use_extended_memory_layout" setting. (diff) | |
| download | yuzu-c0e45a3c787df9c4c7c99b79a34d31a394bf7b49.tar.gz yuzu-c0e45a3c787df9c4c7c99b79a34d31a394bf7b49.tar.xz yuzu-c0e45a3c787df9c4c7c99b79a34d31a394bf7b49.zip | |
core: device_memory: Use memory size reported by KSystemControl.
- That way, we can consolidate the memory layout to one place.
Diffstat (limited to 'src/core/device_memory.h')
| -rw-r--r-- | src/core/device_memory.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/device_memory.h b/src/core/device_memory.h index c4d17705f..daeb551ea 100644 --- a/src/core/device_memory.h +++ b/src/core/device_memory.h | |||
| @@ -12,12 +12,8 @@ namespace Core { | |||
| 12 | namespace DramMemoryMap { | 12 | namespace DramMemoryMap { |
| 13 | enum : u64 { | 13 | enum : u64 { |
| 14 | Base = 0x80000000ULL, | 14 | Base = 0x80000000ULL, |
| 15 | Size = 0x100000000ULL, | ||
| 16 | End = Base + Size, | ||
| 17 | KernelReserveBase = Base + 0x60000, | 15 | KernelReserveBase = Base + 0x60000, |
| 18 | SlabHeapBase = KernelReserveBase + 0x85000, | 16 | SlabHeapBase = KernelReserveBase + 0x85000, |
| 19 | SlapHeapSize = 0xa21000, | ||
| 20 | SlabHeapEnd = SlabHeapBase + SlapHeapSize, | ||
| 21 | }; | 17 | }; |
| 22 | }; // namespace DramMemoryMap | 18 | }; // namespace DramMemoryMap |
| 23 | 19 | ||