2011-02-26 20:08:36 +08:00
|
|
|
/*
|
|
|
|
* PKUnity PS2 Controller Registers
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* the same as I8042_DATA_REG PS2_DATA
|
|
|
|
*/
|
2011-03-04 18:07:48 +08:00
|
|
|
#define PS2_DATA (PKUNITY_PS2_BASE + 0x0060)
|
2011-02-26 20:08:36 +08:00
|
|
|
/*
|
|
|
|
* the same as I8042_COMMAND_REG PS2_COMMAND
|
|
|
|
*/
|
2011-03-04 18:07:48 +08:00
|
|
|
#define PS2_COMMAND (PKUNITY_PS2_BASE + 0x0064)
|
2011-02-26 20:08:36 +08:00
|
|
|
/*
|
|
|
|
* the same as I8042_STATUS_REG PS2_STATUS
|
|
|
|
*/
|
2011-03-04 18:07:48 +08:00
|
|
|
#define PS2_STATUS (PKUNITY_PS2_BASE + 0x0064)
|
2011-02-26 20:08:36 +08:00
|
|
|
/*
|
|
|
|
* counter reg PS2_CNT
|
|
|
|
*/
|
2011-03-04 18:07:48 +08:00
|
|
|
#define PS2_CNT (PKUNITY_PS2_BASE + 0x0068)
|
2011-02-26 20:08:36 +08:00
|
|
|
|