Changes in uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.h [7a6065c:8d2dd7f2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.h
r7a6065c r8d2dd7f2 38 38 #define S3C24XX_UART_H_ 39 39 40 #include < adt/circ_buf.h>40 #include <stdint.h> 41 41 #include <async.h> 42 #include <fibril_synch.h>43 #include <io/chardev_srv.h>44 #include <stdint.h>45 42 46 43 /** S3C24xx UART I/O */ … … 79 76 #define UFCON_FIFO_ENABLE 0x01 80 77 81 enum {82 s3c24xx_uart_buf_size = 6483 };84 78 85 79 /** S3C24xx UART instance */ … … 91 85 s3c24xx_uart_io_t *io; 92 86 93 /** C haracter device service*/94 chardev_srvs_t cds;87 /** Callback session to the client */ 88 async_sess_t *client_sess; 95 89 96 90 /** Service ID */ 97 91 service_id_t service_id; 98 99 /** Circular buffer */100 circ_buf_t cbuf;101 /** Buffer */102 uint8_t buf[s3c24xx_uart_buf_size];103 /** Buffer lock */104 fibril_mutex_t buf_lock;105 /** Signal newly added data in buffer */106 fibril_condvar_t buf_cv;107 92 } s3c24xx_uart_t; 108 93
Note:
See TracChangeset
for help on using the changeset viewer.