Changes in uspace/drv/char/sun4v-con/sun4v-con.c [dd8ab1c:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/sun4v-con/sun4v-con.c
rdd8ab1c rb7fd2a0 46 46 #define POLL_INTERVAL 10000 47 47 48 static int sun4v_con_read(chardev_srv_t *, void *, size_t, size_t *);49 static int sun4v_con_write(chardev_srv_t *, const void *, size_t, size_t *);48 static errno_t sun4v_con_read(chardev_srv_t *, void *, size_t, size_t *); 49 static errno_t sun4v_con_write(chardev_srv_t *, const void *, size_t, size_t *); 50 50 51 51 static chardev_ops_t sun4v_con_chardev_ops = { … … 69 69 70 70 /** Add sun4v console device. */ 71 int sun4v_con_add(sun4v_con_t *con, sun4v_con_res_t *res)71 errno_t sun4v_con_add(sun4v_con_t *con, sun4v_con_res_t *res) 72 72 { 73 73 ddf_fun_t *fun = NULL; 74 int rc;74 errno_t rc; 75 75 76 76 con->res = *res; … … 129 129 130 130 /** Remove sun4v console device */ 131 int sun4v_con_remove(sun4v_con_t *con)131 errno_t sun4v_con_remove(sun4v_con_t *con) 132 132 { 133 133 return ENOTSUP; … … 135 135 136 136 /** Msim console device gone */ 137 int sun4v_con_gone(sun4v_con_t *con)137 errno_t sun4v_con_gone(sun4v_con_t *con) 138 138 { 139 139 return ENOTSUP; … … 141 141 142 142 /** Read from Sun4v console device */ 143 static int sun4v_con_read(chardev_srv_t *srv, void *buf, size_t size,143 static errno_t sun4v_con_read(chardev_srv_t *srv, void *buf, size_t size, 144 144 size_t *nread) 145 145 { … … 165 165 166 166 /** Write to Sun4v console device */ 167 static int sun4v_con_write(chardev_srv_t *srv, const void *data, size_t size,167 static errno_t sun4v_con_write(chardev_srv_t *srv, const void *data, size_t size, 168 168 size_t *nwr) 169 169 {
Note:
See TracChangeset
for help on using the changeset viewer.