Added interrupt and exception handling

This commit is contained in:
2026-02-26 20:12:45 +00:00
parent 4d447d3dec
commit 95c0f15640
5 changed files with 789 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
#include "boot_info.h"
#include "commands.h"
#include "idt.h"
#define SAFE_PRINT(Boot, ...) \
do { \
@@ -34,6 +35,8 @@ void kmain(BootInfo *Boot)
}
}
idt_init(Boot);
SAFE_PRINT(Boot, L"================================================\n\r");
SAFE_PRINT(Boot, L" Welcome to Simple UEFI Operating System!\n\r");
SAFE_PRINT(Boot, L"================================================\n\r");