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/shim.c | |
parent | panic (diff) | |
download | corn-57260801943108d063aa1adbfafe838c3eddd0de.tar.gz corn-57260801943108d063aa1adbfafe838c3eddd0de.tar.bz2 corn-57260801943108d063aa1adbfafe838c3eddd0de.zip |
add interrupts (not yet fully working)
Diffstat (limited to '')
-rw-r--r-- | src/arch/amd64/shim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/amd64/shim.c b/src/arch/amd64/shim.c index 4afa6d2..5639aab 100644 --- a/src/arch/amd64/shim.c +++ b/src/arch/amd64/shim.c @@ -6,13 +6,13 @@ #include "paging.h" #include "mboot.h" - +#include "idt.h" static struct boot_info boot_info; -// entry point for amd64 void* amd64_shim(void *mboot_data_ptr) { serial_init(); paging_init(); + idt_init(); kmap_page(mboot_data_ptr, mboot_data_ptr, F_WRITEABLE); |