maintenance

This commit is contained in:
nub31
2025-08-29 15:51:05 +02:00
parent 827d27e3e3
commit 3e510a3e1b
6 changed files with 33 additions and 20 deletions

View File

@@ -8,12 +8,11 @@ void keyboard_handler(const keyboard_event_t* event)
{
if (event->pressed)
{
vga_print_int(event->scan_code);
vga_print("\n");
vga_print_char(event->ascii);
}
}
void kmain(void)
void kernel_main(void)
{
vga_clear();
vga_print_success();
@@ -36,7 +35,7 @@ void kmain(void)
}
}
void kpanic()
void kernel_panic()
{
vga_print("Kernel panic!\n");
__asm__ volatile("cli; hlt");