diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-02 13:05:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-02 13:05:25 -0400 |
commit | f92594d744eedc6f8b01c5d5f761b55b7035be1f (patch) | |
tree | 487a643bbd523b37e95ba1fc1bd3baa576831485 /src/core/memory.h | |
parent | 3413f1f7ceef0d35f0dc867f26c185643829918b (diff) | |
parent | f4ba523992a61bbdec6c849d462389b938beff87 (diff) |
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 { TLS_AREA_VADDR = NEW_LINEAR_HEAP_VADDR_END, TLS_ENTRY_SIZE = 0x200, TLS_AREA_SIZE = 0x10000000, - TLS_ADREA_VADDR_END = TLS_AREA_VADDR + TLS_AREA_SIZE, + TLS_AREA_VADDR_END = TLS_AREA_VADDR + TLS_AREA_SIZE, /// Application stack - STACK_VADDR = TLS_ADREA_VADDR_END, - STACK_SIZE = 0x10000, - STACK_VADDR_END = STACK_VADDR + STACK_SIZE, + STACK_AREA_VADDR = TLS_AREA_VADDR_END, + STACK_AREA_SIZE = 0x10000000, + STACK_AREA_VADDR_END = STACK_AREA_VADDR + STACK_AREA_SIZE, + DEFAULT_STACK_SIZE = 0x100000, /// Application heap /// Size is confirmed to be a static value on fw 3.0.0 |