Changeset 7f1c620 in mainline for arch/ia32/include/drivers/i8042.h
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/include/drivers/i8042.h
r991779c5 r7f1c620 46 46 #define i8042_STATUS 0x64 47 47 48 static inline void i8042_data_write( __u8data)48 static inline void i8042_data_write(uint8_t data) 49 49 { 50 50 outb(i8042_DATA, data); 51 51 } 52 52 53 static inline __u8i8042_data_read(void)53 static inline uint8_t i8042_data_read(void) 54 54 { 55 55 return inb(i8042_DATA); 56 56 } 57 57 58 static inline __u8i8042_status_read(void)58 static inline uint8_t i8042_status_read(void) 59 59 { 60 60 return inb(i8042_STATUS); 61 61 } 62 62 63 static inline void i8042_command_write( __u8command)63 static inline void i8042_command_write(uint8_t command) 64 64 { 65 65 outb(i8042_STATUS, command);
Note:
See TracChangeset
for help on using the changeset viewer.