aboutsummaryrefslogtreecommitdiff
path: root/src/core/device_memory.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-02-21 12:36:34 -0800
committerbunnei <bunneidev@gmail.com>2022-02-21 13:07:19 -0800
commitc0e45a3c787df9c4c7c99b79a34d31a394bf7b49 (patch)
tree20c12370bcb7417b8fc17d4fb5768b700edca7be /src/core/device_memory.h
parent70482e6b26d3889517851f57f06c8bed4fbc447a (diff)
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.h4
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 {
namespace DramMemoryMap {
enum : u64 {
Base = 0x80000000ULL,
- Size = 0x100000000ULL,
- End = Base + Size,
KernelReserveBase = Base + 0x60000,
SlabHeapBase = KernelReserveBase + 0x85000,
- SlapHeapSize = 0xa21000,
- SlabHeapEnd = SlabHeapBase + SlapHeapSize,
};
}; // namespace DramMemoryMap