Changeset 7715994 in mainline for kernel/genarch/src/drivers/i8042/i8042.c
- Timestamp:
- 2010-03-13T12:17:02Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ba20a6b
- Parents:
- d0febca (diff), 2070570 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/i8042/i8042.c
rd0febca r7715994 67 67 i8042_instance_t *instance = irq->instance; 68 68 i8042_t *dev = instance->i8042; 69 uint8_t status;70 69 71 if ( ((status = pio_read_8(&dev->status)) & i8042_BUFFER_FULL_MASK)) {70 if (pio_read_8(&dev->status) & i8042_BUFFER_FULL_MASK) { 72 71 uint8_t data = pio_read_8(&dev->data); 73 72 indev_push_character(instance->kbrdin, data);
Note:
See TracChangeset
for help on using the changeset viewer.