Set the heap allocator's MEMORY_TOP to 64KB below the stack
This commit is contained in:
parent
bf1e28e625
commit
606ec0283e
|
@ -6,7 +6,7 @@
|
||||||
; data.32 next - pointer to next free block, or zero
|
; data.32 next - pointer to next free block, or zero
|
||||||
|
|
||||||
const HEADER_SIZE: 12
|
const HEADER_SIZE: 12
|
||||||
const MEMORY_TOP: 0x02000000
|
const MEMORY_TOP: 0x01FEF800 ; 64KB below the stack
|
||||||
|
|
||||||
initialize_allocator:
|
initialize_allocator:
|
||||||
push r0
|
push r0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user