Actual heap allocation!!!!!!!!!!!!

This commit is contained in:
2024-06-12 23:37:24 +03:00
parent 638bfb2d5c
commit 1d61f97abb
16 changed files with 889 additions and 33 deletions

View File

@@ -94,6 +94,10 @@ check_long_mode:
jmp error
set_up_page_tables:
mov eax, p4_table
or eax, 0b11 ; present + writable
mov [p4_table + 511 * 8], eax
; map first P4 entry to P3 table
mov eax, p3_table
or eax, 0b11 ; present + writable