diff options
Diffstat (limited to 'kernel/src/devices/keyboard.c')
| -rw-r--r-- | kernel/src/devices/keyboard.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/kernel/src/devices/keyboard.c b/kernel/src/devices/keyboard.c index 67c2f19..d631aac 100644 --- a/kernel/src/devices/keyboard.c +++ b/kernel/src/devices/keyboard.c @@ -17,13 +17,16 @@ stdbuff *keyboard_buffer; void init_keyboard() { - // outb(KEYBOARD_CMD_PORT, 0xF3); - // io_wait(); - // outb(KEYBOARD_DATA_PORT, 0x00); - // io_wait(); - // while (!(inb(KEYBOARD_STATUS_PORT) & 1)) {} - // if (inb(KEYBOARD_DATA_PORT) == 0xFA) - // printf("[keyboard init]\n"); + /* + outb(KEYBOARD_CMD_PORT, 0xF3); + io_wait(); + outb(KEYBOARD_DATA_PORT, 0x00); + io_wait(); + while (!(inb(KEYBOARD_STATUS_PORT) & 1)) + ; + if (inb(KEYBOARD_DATA_PORT) == 0xFA) + printf("[keyboard init]\n"); + */ } void keyboard_handler() |
