diff options
Diffstat (limited to 'src/kernel/dev/pckbd.c')
-rw-r--r-- | src/kernel/dev/pckbd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/dev/pckbd.c b/src/kernel/dev/pckbd.c index 8a4c002..f7452b2 100644 --- a/src/kernel/dev/pckbd.c +++ b/src/kernel/dev/pckbd.c @@ -74,6 +74,9 @@ fs_node_ops_t pckbd_ops = { }; void pckbd_setup(fs_t *iofs) { + uint8_t a = 0, b = 0; + while ((a = inb(0x60)) != b) b = a; + idt_set_irq_handler(IRQ1, &irq1_handler); nullfs_add_node(iofs, "/input/pckbd", 0, &pckbd_ops, 0); |