Should have fixed the keyboard driver by calling init before registering the IRQ handler.

This commit is contained in:
2026-04-07 11:36:44 +02:00
parent 9d94299fb1
commit dcec936d1f

View File

@@ -122,8 +122,8 @@ void kernel_main(struct multiboot_info* header, uint32_t magic) {
kputstr(OK); kputstr(OK);
kputstr("Initializing Keyboard..."); kputstr("Initializing Keyboard...");
IRQ_registerhandler(0x01, &keyboard_irq_handler);
keyboard_init(); keyboard_init();
IRQ_registerhandler(0x01, &keyboard_irq_handler);
keyboard_loop(); keyboard_loop();
kputstr(OK); kputstr(OK);