add PIC code from osdev

This commit is contained in:
2025-03-19 13:10:41 +03:00
parent 22c7380c8d
commit 97598b96db
4 changed files with 86 additions and 1 deletions
+2
View File
@@ -4,6 +4,7 @@
#include "../include/utils.h"
#include "../include/disk.h"
#include "../include/string.h"
#include "../include/pic.h"
#include <stdint.h>
@@ -11,6 +12,7 @@ void kmain()
{
terminal_initialize();
printf("KatauOS booting up\n");
pic_remap(0x20, 0x28);
isr_install();
printf("Kernel init sequence completed\n");