Initialize the memory allocator with a correct bottom of memory

This commit is contained in:
Ry 2022-10-27 23:08:18 -07:00
parent a7064075e7
commit 250da95d76

View File

@ -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]