#ifndef __DEVICE_KEYBOARD_H #define __DEVICE_KEYBOARD_H /****************************** * IO Port Access Type Purpose * 0x60 Read/Write Data Port * 0x64 Read Status Register * 0x64 Write Command Registe ******************************/ #define KBD_DATA_PORT 0x60 #define KBD_STATUS_PORT 0x64 #define KBD_STATUS_MASK 0x02 void keyboard_init(void); extern struct ioqueue keyboard_buf; #endif // !__DEVICE_KEYBOARD_H