This commit is contained in:
2025-08-15 20:46:11 +02:00
parent c6c12d93a0
commit 922fee88c7
4 changed files with 53 additions and 2 deletions

View File

@ -4,6 +4,7 @@
#include "kprintf.h"
#include "serial.h"
#include "gdt.h"
#include "idt.h"
void hal_init(void) {
if (!serial_init()) {
@ -11,6 +12,7 @@ void hal_init(void) {
}
LOG("hal", "serial init\n");
gdt_init();
idt_init();
}
__attribute__((noreturn)) void hal_hang(void) {