Complete: First working Bootloader to kernel enviorment
This commit is contained in:
parent
babc45f96b
commit
19d4a05043
3
boot.asm
3
boot.asm
@ -18,7 +18,8 @@ _start:
|
||||
; Load the gdt_ptr
|
||||
lgdt [gdt_ptr]
|
||||
|
||||
mov cr3, pml4_table
|
||||
mov eax, pml4_table
|
||||
mov cr3, eax ; Load the PML4 table into CR3
|
||||
|
||||
mov eax, cr4
|
||||
or eax, 0x20 ; Enable PAE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user