From 57260801943108d063aa1adbfafe838c3eddd0de Mon Sep 17 00:00:00 2001 From: trimill Date: Mon, 29 Jan 2024 16:25:39 -0500 Subject: add interrupts (not yet fully working) --- src/arch/amd64/boot.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/amd64/boot.S') 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: -- cgit v1.2.3-freya