Changeset f260256 in mainline
- Timestamp:
- 2006-06-20T09:15:21Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3c5006a0
- Parents:
- 2f249e79
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
genarch/src/i8042/i8042.c
r2f249e79 rf260256 325 325 __u8 x; 326 326 327 while ((i8042_status_read() & i8042_BUFFER_FULL_MASK)) { 328 x = i8042_data_read(); 329 if (x & KEY_RELEASE) 330 key_released(x ^ KEY_RELEASE); 331 else 332 key_pressed(x); 333 } 327 334 trap_virtual_eoi(); 328 x = i8042_data_read();329 if (x & KEY_RELEASE)330 key_released(x ^ KEY_RELEASE);331 else332 key_pressed(x);333 335 } 334 336 … … 542 544 while(!(ch = active_read_buff_read())) { 543 545 __u8 x; 544 while (!( (x=i8042_status_read() & i8042_BUFFER_FULL_MASK)))546 while (!(i8042_status_read() & i8042_BUFFER_FULL_MASK)) 545 547 ; 546 548 x = i8042_data_read();
Note:
See TracChangeset
for help on using the changeset viewer.