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/shim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/amd64/shim.c') 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); -- cgit v1.2.3-freya