summaryrefslogtreecommitdiffstats
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-10-23 05:17:59 +0200
committerbunnei <bunneidev@gmail.com>2017-10-23 05:17:59 +0200
commit9ceb0d93817c1dd48c954bfdbb7516fc3d913245 (patch)
tree137f1c884c66412d6addb026ef4f52c141ca4a07 /src/core/memory.h
parenthle: Fix QueryMemory response for MemoryInfo. (diff)
downloadyuzu-9ceb0d93817c1dd48c954bfdbb7516fc3d913245.tar
yuzu-9ceb0d93817c1dd48c954bfdbb7516fc3d913245.tar.gz
yuzu-9ceb0d93817c1dd48c954bfdbb7516fc3d913245.tar.bz2
yuzu-9ceb0d93817c1dd48c954bfdbb7516fc3d913245.tar.lz
yuzu-9ceb0d93817c1dd48c954bfdbb7516fc3d913245.tar.xz
yuzu-9ceb0d93817c1dd48c954bfdbb7516fc3d913245.tar.zst
yuzu-9ceb0d93817c1dd48c954bfdbb7516fc3d913245.zip
Diffstat (limited to '')
-rw-r--r--src/core/memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 9a04b9a16..8c60f1dd3 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -26,7 +26,7 @@ namespace Memory {
const int PAGE_BITS = 12;
const u64 PAGE_SIZE = 1 << PAGE_BITS;
const u64 PAGE_MASK = PAGE_SIZE - 1;
-const size_t PAGE_TABLE_NUM_ENTRIES = 1ULL << (32 - PAGE_BITS);
+const size_t PAGE_TABLE_NUM_ENTRIES = 1ULL << (36 - PAGE_BITS);
enum class PageType {
/// Page is unmapped and should cause an access error.
@@ -135,7 +135,7 @@ enum : VAddr {
IPC_MAPPING_VADDR_END = IPC_MAPPING_VADDR + IPC_MAPPING_SIZE,
/// Application heap (includes stack).
- HEAP_VADDR = 0x08000000,
+ HEAP_VADDR = 0x108000000,
HEAP_SIZE = 0x08000000,
HEAP_VADDR_END = HEAP_VADDR + HEAP_SIZE,