Changes in uspace/drv/char/i8042/i8042.h [75751db6:8820544] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/i8042/i8042.h
r75751db6 r8820544 40 40 #define i8042_H_ 41 41 42 #include <io/chardev_srv.h>43 42 #include <sys/types.h> 44 43 #include <fibril_synch.h> … … 57 56 } __attribute__ ((packed)) i8042_regs_t; 58 57 59 /** i8042 Port. */ 60 typedef struct { 61 struct i8042 *ctl; /**< Controller */ 62 chardev_srvs_t cds; /**< Character device server data */ 63 } i8042_port_t; 64 65 /** i8042 Controller. */ 58 /** i8042 driver structure. */ 66 59 typedef struct i8042 { 67 60 i8042_regs_t *regs; /**< I/O registers. */ … … 72 65 uint8_t aux_data[BUFFER_SIZE]; /**< Primary port buffer space. */ 73 66 uint8_t kbd_data[BUFFER_SIZE]; /**< Aux. port buffer space. */ 74 i8042_port_t *kbd;75 i8042_port_t *aux;76 67 fibril_mutex_t write_guard; /**< Prevents simultanous port writes.*/ 77 68 } i8042_t; 78 79 69 80 70 extern int i8042_init(i8042_t *, addr_range_t *, int, int, ddf_dev_t *);
Note:
See TracChangeset
for help on using the changeset viewer.