From 1b09896afcf562d199d4df8d671601bba2b1f081 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 4 Feb 2024 14:19:54 -0500 Subject: refactor arch --- src/arch/amd64/shim.c | 6 ++++-- 1 file changed, 4 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 c1c3368..05d995c 100644 --- a/src/arch/amd64/shim.c +++ b/src/arch/amd64/shim.c @@ -3,11 +3,12 @@ #include #include #include +#include +#include #include "paging.h" -#include "mboot.h" +#include "fpu.h" #include "cpu/idt.h" -#include "drivers/pic.h" static struct boot_info boot_info; @@ -16,6 +17,7 @@ void *amd64_shim(long mboot_magic, volatile void *mboot_data_ptr) { paging_init(); pic_remap(); idt_init(); + fpu_enable(); mboot_load_info(mboot_magic, mboot_data_ptr, &boot_info); -- cgit v1.2.3-freya