From 292a8ba56896e1f3c741d38966b5cc8ff4c01cf4 Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Fri, 29 Nov 2019 13:08:01 -0800 Subject: [PATCH] removing manual setup of keyboard interrupt as its not written in this patch yet --- interrupts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);