summaryrefslogtreecommitdiff
path: root/src/core/device_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/device_memory.h')
-rw-r--r--src/core/device_memory.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/core/device_memory.h b/src/core/device_memory.h
index ff66e202d..9efa088d0 100644
--- a/src/core/device_memory.h
+++ b/src/core/device_memory.h
@@ -13,13 +13,15 @@ namespace Core {
13class System; 13class System;
14 14
15namespace DramMemoryMap { 15namespace DramMemoryMap {
16constexpr u64 Base = 0x80000000ULL; 16enum : u64 {
17constexpr u64 Size = 0x100000000ULL; 17 Base = 0x80000000ULL,
18constexpr u64 End = Base + Size; 18 Size = 0x100000000ULL,
19constexpr u64 KernelReserveBase = Base + 0x60000; 19 End = Base + Size,
20constexpr u64 SlabHeapBase = KernelReserveBase + 0x85000; 20 KernelReserveBase = Base + 0x60000,
21constexpr u64 SlapHeapSize = 0xa21000; 21 SlabHeapBase = KernelReserveBase + 0x85000,
22constexpr u64 SlabHeapEnd = SlabHeapBase + SlapHeapSize; 22 SlapHeapSize = 0xa21000,
23 SlabHeapEnd = SlabHeapBase + SlapHeapSize,
24};
23}; // namespace DramMemoryMap 25}; // namespace DramMemoryMap
24 26
25class DeviceMemory : NonCopyable { 27class DeviceMemory : NonCopyable {