Changeset ac307b2 in mainline for uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.h
- Timestamp:
- 2017-11-25T11:12:23Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 98cb5e0d
- Parents:
- f571ca49 (diff), 0851a3d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.h
rf571ca49 rac307b2 38 38 #define S3C24XX_UART_H_ 39 39 40 #include <adt/circ_buf.h> 41 #include <async.h> 42 #include <fibril_synch.h> 43 #include <io/chardev_srv.h> 40 44 #include <stdint.h> 41 #include <async.h>42 45 43 46 /** S3C24xx UART I/O */ … … 76 79 #define UFCON_FIFO_ENABLE 0x01 77 80 81 enum { 82 s3c24xx_uart_buf_size = 64 83 }; 78 84 79 85 /** S3C24xx UART instance */ … … 85 91 s3c24xx_uart_io_t *io; 86 92 87 /** C allback session to the client*/88 async_sess_t *client_sess;93 /** Character device service */ 94 chardev_srvs_t cds; 89 95 90 96 /** Service ID */ 91 97 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; 92 107 } s3c24xx_uart_t; 93 108
Note:
See TracChangeset
for help on using the changeset viewer.