Changeset 3c79afe in mainline for kernel/genarch/include/drivers/i8042/i8042.h
- Timestamp:
- 2009-03-12T17:54:24Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a1c048
- Parents:
- a0e1b48
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/drivers/i8042/i8042.h
ra0e1b48 r3c79afe 27 27 */ 28 28 29 /** @addtogroup genarch 29 /** @addtogroup genarch 30 30 * @{ 31 31 */ … … 41 41 #include <typedefs.h> 42 42 43 struct i8042{43 typedef struct { 44 44 ioport8_t data; 45 45 uint8_t pad[3]; 46 46 ioport8_t status; 47 } __attribute__ ((packed)); 48 typedef struct i8042 i8042_t; 47 } __attribute__ ((packed)) i8042_t; 49 48 50 typedef struct i8042_instance{49 typedef struct { 51 50 devno_t devno; 52 51 irq_t irq; 53 52 i8042_t *i8042; 54 chardev_t *devout;53 indev_t kbrdin; 55 54 } i8042_instance_t; 56 55 57 extern bool i8042_init(i8042_t *, devno_t, inr_t, chardev_t *);56 extern indev_t *i8042_init(i8042_t *, devno_t, inr_t); 58 57 59 58 #endif
Note:
See TracChangeset
for help on using the changeset viewer.