Changeset 3be9d10 in mainline for uspace/srv/hid/output/output.c
- Timestamp:
- 2018-03-21T21:29:31Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3e242d2
- Parents:
- eadaeae8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/output/output.c
readaeae8 r3be9d10 78 78 } 79 79 80 static void srv_yield( ipc_callid_t iid, ipc_call_t *icall)80 static void srv_yield(cap_call_handle_t iid, ipc_call_t *icall) 81 81 { 82 82 errno_t ret = EOK; … … 93 93 } 94 94 95 static void srv_claim( ipc_callid_t iid, ipc_call_t *icall)95 static void srv_claim(cap_call_handle_t iid, ipc_call_t *icall) 96 96 { 97 97 errno_t ret = EOK; … … 108 108 } 109 109 110 static void srv_get_dimensions( ipc_callid_t iid, ipc_call_t *icall)110 static void srv_get_dimensions(cap_call_handle_t iid, ipc_call_t *icall) 111 111 { 112 112 sysarg_t cols = MAX_COLS; … … 121 121 } 122 122 123 static void srv_get_caps( ipc_callid_t iid, ipc_call_t *icall)123 static void srv_get_caps(cap_call_handle_t iid, ipc_call_t *icall) 124 124 { 125 125 console_caps_t caps = 0; … … 134 134 } 135 135 136 static frontbuf_t *resolve_frontbuf(sysarg_t handle, ipc_callid_t iid)136 static frontbuf_t *resolve_frontbuf(sysarg_t handle, cap_call_handle_t iid) 137 137 { 138 138 frontbuf_t *frontbuf = NULL; … … 152 152 } 153 153 154 static void srv_frontbuf_create( ipc_callid_t iid, ipc_call_t *icall)154 static void srv_frontbuf_create(cap_call_handle_t iid, ipc_call_t *icall) 155 155 { 156 156 frontbuf_t *frontbuf = (frontbuf_t *) malloc(sizeof(frontbuf_t)); … … 162 162 link_initialize(&frontbuf->link); 163 163 164 ipc_callid_t callid;164 cap_call_handle_t callid; 165 165 if (!async_share_out_receive(&callid, &frontbuf->size, 166 166 &frontbuf->flags)) { … … 181 181 } 182 182 183 static void srv_frontbuf_destroy( ipc_callid_t iid, ipc_call_t *icall)183 static void srv_frontbuf_destroy(cap_call_handle_t iid, ipc_call_t *icall) 184 184 { 185 185 frontbuf_t *frontbuf = resolve_frontbuf(IPC_GET_ARG1(*icall), iid); … … 194 194 } 195 195 196 static void srv_cursor_update( ipc_callid_t iid, ipc_call_t *icall)196 static void srv_cursor_update(cap_call_handle_t iid, ipc_call_t *icall) 197 197 { 198 198 frontbuf_t *frontbuf = resolve_frontbuf(IPC_GET_ARG1(*icall), iid); … … 226 226 } 227 227 228 static void srv_set_style( ipc_callid_t iid, ipc_call_t *icall)228 static void srv_set_style(cap_call_handle_t iid, ipc_call_t *icall) 229 229 { 230 230 list_foreach(outdevs, link, outdev_t, dev) { … … 237 237 } 238 238 239 static void srv_set_color( ipc_callid_t iid, ipc_call_t *icall)239 static void srv_set_color(cap_call_handle_t iid, ipc_call_t *icall) 240 240 { 241 241 list_foreach(outdevs, link, outdev_t, dev) { … … 252 252 } 253 253 254 static void srv_set_rgb_color( ipc_callid_t iid, ipc_call_t *icall)254 static void srv_set_rgb_color(cap_call_handle_t iid, ipc_call_t *icall) 255 255 { 256 256 list_foreach(outdevs, link, outdev_t, dev) { … … 302 302 } 303 303 304 static void srv_update( ipc_callid_t iid, ipc_call_t *icall)304 static void srv_update(cap_call_handle_t iid, ipc_call_t *icall) 305 305 { 306 306 frontbuf_t *frontbuf = resolve_frontbuf(IPC_GET_ARG1(*icall), iid); … … 352 352 } 353 353 354 static void srv_damage( ipc_callid_t iid, ipc_call_t *icall)354 static void srv_damage(cap_call_handle_t iid, ipc_call_t *icall) 355 355 { 356 356 frontbuf_t *frontbuf = resolve_frontbuf(IPC_GET_ARG1(*icall), iid); … … 391 391 } 392 392 393 static void client_connection( ipc_callid_t iid, ipc_call_t *icall, void *arg)393 static void client_connection(cap_call_handle_t iid, ipc_call_t *icall, void *arg) 394 394 { 395 395 /* Accept the connection */ … … 398 398 while (true) { 399 399 ipc_call_t call; 400 ipc_callid_t callid = async_get_call(&call);400 cap_call_handle_t callid = async_get_call(&call); 401 401 402 402 if (!IPC_GET_IMETHOD(call)) {
Note:
See TracChangeset
for help on using the changeset viewer.