summaryrefslogtreecommitdiff
path: root/src/core/device_memory.h
diff options
context:
space:
mode:
authorGravatar bunnei2020-04-17 00:59:08 -0400
committerGravatar bunnei2020-04-17 00:59:36 -0400
commit8bbe74a8dc62cd3933fd08237e707b0059fe8a78 (patch)
tree61b6af4968dcb52ba84aebdffd3cff0f3c5864ce /src/core/device_memory.h
parentcore: device_memory: Remove incorrect usage of constexpr. (diff)
downloadyuzu-8bbe74a8dc62cd3933fd08237e707b0059fe8a78.tar.gz
yuzu-8bbe74a8dc62cd3933fd08237e707b0059fe8a78.tar.xz
yuzu-8bbe74a8dc62cd3933fd08237e707b0059fe8a78.zip
core: hle: Address various feedback & code cleanup.
- Should be no functional changes.
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 {