summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-03-31 15:03:28 -0400
committerGravatar bunnei2018-03-31 16:06:45 -0400
commitb27ab46bde8bd0c376747284435fcfa2b35aea75 (patch)
tree7cc608033e61e4697bad475699d74c35c8bd5370 /src/core/memory.h
parentMerge pull request #293 from N00byKing/drkthm (diff)
downloadyuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.tar.gz
yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.tar.xz
yuzu-b27ab46bde8bd0c376747284435fcfa2b35aea75.zip
memory: Fix stack region.
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 413a7b4e8..e9b8ca873 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -162,12 +162,13 @@ enum : VAddr {
162 TLS_AREA_VADDR = NEW_LINEAR_HEAP_VADDR_END, 162 TLS_AREA_VADDR = NEW_LINEAR_HEAP_VADDR_END,
163 TLS_ENTRY_SIZE = 0x200, 163 TLS_ENTRY_SIZE = 0x200,
164 TLS_AREA_SIZE = 0x10000000, 164 TLS_AREA_SIZE = 0x10000000,
165 TLS_ADREA_VADDR_END = TLS_AREA_VADDR + TLS_AREA_SIZE, 165 TLS_AREA_VADDR_END = TLS_AREA_VADDR + TLS_AREA_SIZE,
166 166
167 /// Application stack 167 /// Application stack
168 STACK_VADDR = TLS_ADREA_VADDR_END, 168 STACK_AREA_VADDR = TLS_AREA_VADDR_END,
169 STACK_SIZE = 0x10000, 169 STACK_AREA_SIZE = 0x10000000,
170 STACK_VADDR_END = STACK_VADDR + STACK_SIZE, 170 STACK_AREA_VADDR_END = STACK_AREA_VADDR + STACK_AREA_SIZE,
171 DEFAULT_STACK_SIZE = 0x100000,
171 172
172 /// Application heap 173 /// Application heap
173 /// Size is confirmed to be a static value on fw 3.0.0 174 /// Size is confirmed to be a static value on fw 3.0.0