X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdevices%2Fkbd.c;h=ed52cfab82872ea9b05eaf0924f1a99a2ce3b8b0;hb=44d0fa6a2b24a84e5eb0d54959ed91c1d4f15343;hp=21c98a5574a6b799bcf40238c21fbd0fb890fc00;hpb=750d21936d284127e265d050ccbce76fca1ece1a;p=pintos-anon diff --git a/src/devices/kbd.c b/src/devices/kbd.c index 21c98a5..ed52cfa 100644 --- a/src/devices/kbd.c +++ b/src/devices/kbd.c @@ -5,7 +5,7 @@ #include "lib.h" static void -irq21_keyboard (struct intr_args *args UNUSED) +irq21_keyboard (struct intr_frame *args UNUSED) { printk ("Keyboard!\n"); inb (0x60); @@ -14,5 +14,5 @@ irq21_keyboard (struct intr_args *args UNUSED) void kbd_init (void) { - intr_register (0x21, 0, IF_OFF, irq21_keyboard); + intr_register (0x21, 0, IF_OFF, irq21_keyboard, "8042 Keyboard"); }