X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdevices%2Fkbd.c;h=867c64ae6b721897fd00405ab0ee94c3ccda28cc;hb=f6580e9ad405b519dbe85027691bf3c66074b0a4;hp=ed52cfab82872ea9b05eaf0924f1a99a2ce3b8b0;hpb=44d0fa6a2b24a84e5eb0d54959ed91c1d4f15343;p=pintos-anon diff --git a/src/devices/kbd.c b/src/devices/kbd.c index ed52cfa..867c64a 100644 --- a/src/devices/kbd.c +++ b/src/devices/kbd.c @@ -1,8 +1,8 @@ #include "kbd.h" -#include "debug.h" -#include "interrupt.h" -#include "io.h" -#include "lib.h" +#include "lib/debug.h" +#include "lib/lib.h" +#include "threads/interrupt.h" +#include "threads/io.h" static void irq21_keyboard (struct intr_frame *args UNUSED) @@ -14,5 +14,5 @@ irq21_keyboard (struct intr_frame *args UNUSED) void kbd_init (void) { - intr_register (0x21, 0, IF_OFF, irq21_keyboard, "8042 Keyboard"); + intr_register (0x21, 0, INTR_OFF, irq21_keyboard, "8042 Keyboard"); }