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