Changes in uspace/drv/char/sun4v-con/sun4v-con.h [7aa94304:59953b57] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/sun4v-con/sun4v-con.h
r7aa94304 r59953b57 38 38 #include <async.h> 39 39 #include <ddf/driver.h> 40 #include <io/chardev_srv.h> 40 41 #include <loc.h> 41 42 #include <stdint.h> 43 44 #include "niagara_buf.h" 45 46 /** Sun4v console resources */ 47 typedef struct { 48 uintptr_t in_base; 49 uintptr_t out_base; 50 } sun4v_con_res_t; 42 51 43 52 /** Sun4v console */ … … 45 54 async_sess_t *client_sess; 46 55 ddf_dev_t *dev; 56 chardev_srvs_t cds; 57 sun4v_con_res_t res; 58 /** Virtual address of the shared input buffer */ 59 niagara_input_buffer_t *input_buffer; 60 /** Virtual address of the shared input buffer */ 61 niagara_output_buffer_t *output_buffer; 47 62 } sun4v_con_t; 48 63 49 extern int sun4v_con_init(sun4v_con_t *); 50 extern void sun4v_con_write(uint8_t data); 51 52 53 extern int sun4v_con_add(sun4v_con_t *); 64 extern int sun4v_con_add(sun4v_con_t *, sun4v_con_res_t *); 54 65 extern int sun4v_con_remove(sun4v_con_t *); 55 66 extern int sun4v_con_gone(sun4v_con_t *);
Note:
See TracChangeset
for help on using the changeset viewer.