Changeset e7588a8 in mainline for uspace/drv/char/i8042/i8042.h
- Timestamp:
- 2017-11-24T02:21:56Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0851a3d
- Parents:
- 221176c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/i8042/i8042.h
r221176c1 re7588a8 40 40 #define i8042_H_ 41 41 42 #include <adt/circ_buf.h> 42 43 #include <io/chardev_srv.h> 43 44 #include <ddi.h> 44 45 #include <fibril_synch.h> 45 46 #include <ddf/driver.h> 46 #include "buffer.h"47 47 48 48 #define NAME "i8042" … … 61 61 struct i8042 *ctl; /**< Controller */ 62 62 chardev_srvs_t cds; /**< Character device server data */ 63 fibril_mutex_t buf_lock; /**< Protect buffer */ 64 fibril_condvar_t buf_cv; /**< Signal new data in buffer */ 63 65 } i8042_port_t; 64 66 … … 68 70 ddf_fun_t *kbd_fun; /**< Pirmary port device function. */ 69 71 ddf_fun_t *aux_fun; /**< Auxiliary port device function. */ 70 buffer_t kbd_buffer;/**< Primary port buffer. */71 buffer_t aux_buffer;/**< Aux. port buffer. */72 circ_buf_t kbd_buffer; /**< Primary port buffer. */ 73 circ_buf_t aux_buffer; /**< Aux. port buffer. */ 72 74 uint8_t aux_data[BUFFER_SIZE]; /**< Primary port buffer space. */ 73 75 uint8_t kbd_data[BUFFER_SIZE]; /**< Aux. port buffer space. */
Note:
See TracChangeset
for help on using the changeset viewer.