Changeset 19d2ce01 in mainline for uspace/drv/char/sun4v-con/sun4v-con.h
- Timestamp:
- 2017-11-16T09:51:14Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 92232331
- Parents:
- ce96ec2
- git-author:
- Jiri Svoboda <jiri@…> (2017-11-15 21:50:05)
- git-committer:
- Jiri Svoboda <jiri@…> (2017-11-16 09:51:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/sun4v-con/sun4v-con.h
rce96ec2 r19d2ce01 41 41 #include <stdint.h> 42 42 43 /** Sun4v console resources */ 44 typedef struct { 45 uintptr_t base; 46 } sun4v_con_res_t; 47 43 48 /** Sun4v console */ 44 49 typedef struct { 45 50 async_sess_t *client_sess; 46 51 ddf_dev_t *dev; 52 sun4v_con_res_t res; 47 53 } sun4v_con_t; 48 54 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 *); 55 extern int sun4v_con_add(sun4v_con_t *, sun4v_con_res_t *); 54 56 extern int sun4v_con_remove(sun4v_con_t *); 55 57 extern int sun4v_con_gone(sun4v_con_t *);
Note:
See TracChangeset
for help on using the changeset viewer.