|
PatchworkOS
|
PS/2 Keyboard Driver. More...
Data Structures | |
| struct | ps2_kbd_irq_context_t |
| State for the PS/2 keyboard interrupt handler. More... | |
Functions | |
| uint64_t | ps2_kbd_init (ps2_device_info_t *info) |
| Initialize a PS/2 keyboard device. | |
PS/2 Keyboard Driver.
| uint64_t ps2_kbd_init | ( | ps2_device_info_t * | info | ) |
Initialize a PS/2 keyboard device.
| info | Device information structure. |
Definition at line 52 of file ps2_kbd.c.
References ERR, info, irq_install(), IRQ_PS2_FIRST_DEVICE, IRQ_PS2_SECOND_DEVICE, ps2_kbd_irq_context_t::isExtended, ps2_kbd_irq_context_t::isRelease, kbd, kbd_free(), kbd_new(), LOG_ERR, malloc(), fb_info_t::name, NULL, PS2_DEV_CMD_SET_SCANCODE_SET, PS2_DEV_FIRST, PS2_DEV_SUB_CMD, ps2_kbd_irq(), and PS2_SCAN_CODE_SET.
Referenced by ps2_device_init().