Changeset 132ab5d1 in mainline for uspace/drv/char/sun4v-con/sun4v-con.h
- Timestamp:
- 2018-01-30T03:20:45Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a6cc679
- Parents:
- 8bfb163 (diff), 6a5d05b (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
-
uspace/drv/char/sun4v-con/sun4v-con.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/sun4v-con/sun4v-con.h
r8bfb163 r132ab5d1 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.
