From 606ec0283e80575c13bb8eff8a4199601f32c9c4 Mon Sep 17 00:00:00 2001 From: Ry Date: Fri, 24 Jun 2022 16:14:46 -0700 Subject: [PATCH] Set the heap allocator's MEMORY_TOP to 64KB below the stack --- kernel/allocator.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/allocator.asm b/kernel/allocator.asm index 6343438..5905d73 100644 --- a/kernel/allocator.asm +++ b/kernel/allocator.asm @@ -6,7 +6,7 @@ ; data.32 next - pointer to next free block, or zero const HEADER_SIZE: 12 -const MEMORY_TOP: 0x02000000 +const MEMORY_TOP: 0x01FEF800 ; 64KB below the stack initialize_allocator: push r0