diff options
author | trimill <trimill@trimillxyz.org> | 2024-01-29 16:25:39 -0500 |
---|---|---|
committer | trimill <trimill@trimillxyz.org> | 2024-01-29 16:29:04 -0500 |
commit | 57260801943108d063aa1adbfafe838c3eddd0de (patch) | |
tree | ffa531eced442600c514fd13035c3c40c2f08112 /src/arch/amd64/boot.S | |
parent | panic (diff) | |
download | corn-57260801943108d063aa1adbfafe838c3eddd0de.tar.gz corn-57260801943108d063aa1adbfafe838c3eddd0de.tar.bz2 corn-57260801943108d063aa1adbfafe838c3eddd0de.zip |
add interrupts (not yet fully working)
Diffstat (limited to 'src/arch/amd64/boot.S')
-rw-r--r-- | src/arch/amd64/boot.S | 2 |
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: |