Reload cr3 after updating P4

This commit is contained in:
Thomas Lovén 2017-12-08 15:55:41 +01:00
parent 83f81b9a74
commit b5e0d749b8

View File

@ -68,6 +68,9 @@ _start:
mov rax, 0
movabs [BootP4], rax
mov rax, cr3
mov cr3, rax
//; Jump to kmain()
.extern kmain
movabs rax, offset kmain