Changeset a832dd7 in mainline
- Timestamp:
- 2006-06-21T07:34:40Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2e9eae2
- Parents:
- 2c8a70a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
genarch/src/i8042/i8042.c
r2c8a70a ra832dd7 71 71 72 72 #define i8042_SET_COMMAND 0x60 73 #define i8042_COMMAND 0x 4973 #define i8042_COMMAND 0x69 74 74 75 75 #define i8042_BUFFER_FULL_MASK 0x01 76 76 #define i8042_WAIT_MASK 0x02 77 #define i8042_MOUSE_DATA 0x20 77 78 78 79 #define SPECIAL '?' … … 323 324 { 324 325 __u8 x; 325 326 while ((i8042_status_read() & i8042_BUFFER_FULL_MASK)) { 326 __u8 status; 327 328 while (((status=i8042_status_read()) & i8042_BUFFER_FULL_MASK)) { 327 329 x = i8042_data_read(); 330 331 if ((status & i8042_MOUSE_DATA)) 332 continue; 333 328 334 if (x & KEY_RELEASE) 329 335 key_released(x ^ KEY_RELEASE);
Note:
See TracChangeset
for help on using the changeset viewer.