Should have fixed the keyboard driver by calling init before registering the IRQ handler.
This commit is contained in:
@@ -122,8 +122,8 @@ void kernel_main(struct multiboot_info* header, uint32_t magic) {
|
||||
kputstr(OK);
|
||||
|
||||
kputstr("Initializing Keyboard...");
|
||||
IRQ_registerhandler(0x01, &keyboard_irq_handler);
|
||||
keyboard_init();
|
||||
IRQ_registerhandler(0x01, &keyboard_irq_handler);
|
||||
keyboard_loop();
|
||||
kputstr(OK);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user