Add kprintf for DEBUG(); differentiated from printf()

This commit is contained in:
2026-03-21 10:36:54 +01:00
parent 03f87723d1
commit db36899152
8 changed files with 121 additions and 8 deletions
+3
View File
@@ -72,6 +72,9 @@ void idt_init()
// Each vector handler is 16-byte aligned, so <vector_no>*16 = address of that handler
idt_set_entry(i, vector_0_handler + (i*16), 0);
}
idt_set_entry(0x80, syscall_handler, 0);
idt_load(&idt);
DEBUG("IDT initialized");
}