summaryrefslogtreecommitdiff
path: root/src/arch/amd64/boot.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/amd64/boot.S')
-rw-r--r--src/arch/amd64/boot.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/amd64/boot.S b/src/arch/amd64/boot.S
index 6482d79..483f0f0 100644
--- a/src/arch/amd64/boot.S
+++ b/src/arch/amd64/boot.S
@@ -117,7 +117,6 @@ start:
;push ebx ; Call our function to set up basic paging
;call amd64_shim
-
mov eax, cr4 ; Enable the PAE bit
or eax, 1 << 5
mov cr4, eax
@@ -139,6 +138,7 @@ code64:
pop rdi
call amd64_shim
mov rdi, rax
+ sti
call kmain
cli
halt: