From 5c88ed65a2150fe6cad932a06da4fbbaf1b9817a Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 6 May 2022 08:33:45 +0200 Subject: [PATCH] Minor refactor with headers --- kernel/idt.c | 4 ---- kernel/idt.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/idt.c b/kernel/idt.c index be96df0..27d57d7 100644 --- a/kernel/idt.c +++ b/kernel/idt.c @@ -49,10 +49,6 @@ void idt_init() { idt_set_desc(idx, isr_stub_table[idx], 0x8e); - /* - outb_w(PIC1, 0xfd); - outb_w(PIC2, 0xfd); - */ __asm__ __volatile__("lidt %0" : : "m"(IDTR)); __asm__ __volatile__("sti"); } diff --git a/kernel/idt.h b/kernel/idt.h index b931ecc..622454c 100644 --- a/kernel/idt.h +++ b/kernel/idt.h @@ -1,5 +1,7 @@ #include "../lib/types.h" #include "pic.h" +#include "../drivers/vga.h" +#include "../lib/conv.h" #define IDT_MAX_DESCS 256 #define EXC_COLOR 0x08