sets up the PIC

This commit is contained in:
2025-05-30 12:14:52 -04:00
parent b87738ca47
commit 0256466f4c
9 changed files with 184 additions and 5 deletions

View File

@ -5,6 +5,7 @@
#include <kernel/serial.h>
#include <kernel/x86/gdt.h>
#include <kernel/x86/idt.h>
#include <kernel/x86/pic.h>
#define GDT_SIZE 5
@ -30,6 +31,9 @@ void kmain(void)
gdt_init();
idt_init();
PIC_remap(0x20, 0x28);
terminal_initialize();
serial_initialize();