Initialize the memory allocator with a correct bottom of memory
This commit is contained in:
parent
a7064075e7
commit
250da95d76
|
@ -12,7 +12,7 @@ initialize_allocator:
|
|||
push r0
|
||||
push r1
|
||||
|
||||
mov [free_list_head], kernel_bottom
|
||||
mov [free_list_head], 0x0000FFFF
|
||||
|
||||
; set the free block size to MEMORY_TOP - [free_list_head]
|
||||
mov r0, [free_list_head]
|
||||
|
|
Loading…
Reference in New Issue
Block a user