Kernel: Map multiboot2 memory in PageTable initialization
It cannot be assumed that multiboot data lies between kernel_end and 2 GiB mark, so I properly allocate virtual address space for it.
This commit is contained in:
@@ -197,8 +197,6 @@ long_mode:
|
||||
jmp *%rcx
|
||||
|
||||
higher_half:
|
||||
addq $KERNEL_OFFSET, g_multiboot2_info
|
||||
|
||||
# call global constuctors
|
||||
call _init
|
||||
|
||||
|
||||
Reference in New Issue
Block a user