Changes in uspace/lib/usbvirt/src/device.c [a35b458:a46e56b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/src/device.c
ra35b458 ra46e56b 54 54 * @param arg Local argument 55 55 */ 56 static void callback_connection( ipc_callid_t iid, ipc_call_t *icall, void *arg)56 static void callback_connection(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg) 57 57 { 58 58 assert(DEV != NULL); 59 59 60 async_answer_0(i id, EOK);60 async_answer_0(icall_handle, EOK); 61 61 62 62 while (true) { 63 ipc_callid_t callid;63 cap_call_handle_t chandle; 64 64 ipc_call_t call; 65 65 66 c allid= async_get_call(&call);67 bool processed = usbvirt_ipc_handle_call(DEV, c allid, &call);66 chandle = async_get_call(&call); 67 bool processed = usbvirt_ipc_handle_call(DEV, chandle, &call); 68 68 if (!processed) { 69 69 if (!IPC_GET_IMETHOD(call)) { 70 async_answer_0(c allid, EOK);70 async_answer_0(chandle, EOK); 71 71 return; 72 72 } else 73 async_answer_0(c allid, EINVAL);73 async_answer_0(chandle, EINVAL); 74 74 } 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.