diff --git a/interrupts.c b/interrupts.c index cf44e3c..f5d63ab 100644 --- a/interrupts.c +++ b/interrupts.c @@ -5,6 +5,7 @@ #include "types.h" #include "ports.h" #include "pit.h" +#include "kbd.h" const char* err_msg[] = { "Divide by zero\n", @@ -180,7 +181,7 @@ void init_idt() { // clear table in case there's garbage in there memset((u8*)irq_handlers, 0, sizeof(void*)); - irq_handlers[0] = inc_ticks; // LULW + irq_handlers[0] = pit_inc_ticks; // LULW // Remap irq's to proper location serialport_write_byte(0x20, 0x11);