diff options
| author | 2018-04-02 13:05:25 -0400 | |
|---|---|---|
| committer | 2018-04-02 13:05:25 -0400 | |
| commit | f92594d744eedc6f8b01c5d5f761b55b7035be1f (patch) | |
| tree | 487a643bbd523b37e95ba1fc1bd3baa576831485 /src/core/memory.h | |
| parent | Merge pull request #288 from Subv/macro_interpreter (diff) | |
| parent | hle_ipc, fsp_srv: Cleanup logging. (diff) | |
| download | yuzu-f92594d744eedc6f8b01c5d5f761b55b7035be1f.tar.gz yuzu-f92594d744eedc6f8b01c5d5f761b55b7035be1f.tar.xz yuzu-f92594d744eedc6f8b01c5d5f761b55b7035be1f.zip | |
Merge pull request #296 from bunnei/misc-mem-fsp-fixes
Fix stack region, implement FSP GetSize/SetSize, and some stubs
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 9 |
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 |