Method for Keyboard Controller Support
Original Publication Date: 1996-Jul-01
Included in the Prior Art Database: 2005-Mar-31
Disclosed is a method abstracting the Intel 8042* Microcontroller as a dual-channel Universal Asynchronous Receiver-Transmitter (UART), so that the microcontroller can be treated as a generic byte stream device, such as a standard 16550 UART. With this abstraction, much of the common byte stream code from the UART device driver is reused in the 8042 device driver. Higher levels of code, which actually communicate with the microcontrollers in the mouse or keyboard devices, then reduce to simple stream I/O, as all synchronization issues are resolved within a single small 8042 microcontroller device driver.