fix: paging with higher half kernel

This commit is contained in:
2024-10-15 00:29:46 +02:00
parent 9855669662
commit 5fc90ea240
3 changed files with 36 additions and 7 deletions

View File

@ -21,6 +21,8 @@ stack_top:
# Preallocate pages used for paging. Don't hard-code addresses and assume they
# are available, as the bootloader might have loaded its multiboot structures or
# modules there. This lets the bootloader know it must avoid the addresses.
.global boot_page_directory
.global boot_page_table1
.section .bss, "aw", @nobits
.align 4096
boot_page_directory: