Changeset fafb8e5 in mainline for uspace/lib/usbvirt
- Timestamp:
- 2019-02-06T13:25:12Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 95a47b0
- Parents:
- eb13ef8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:10:59)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
- Location:
- uspace/lib/usbvirt/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/src/device.c
reb13ef8 rfafb8e5 66 66 bool processed = usbvirt_ipc_handle_call(DEV, &call); 67 67 if (!processed) { 68 if (! IPC_GET_IMETHOD(&call)) {68 if (!ipc_get_imethod(&call)) { 69 69 async_answer_0(&call, EOK); 70 70 return; -
uspace/lib/usbvirt/src/ipc_dev.c
reb13ef8 rfafb8e5 133 133 static void ipc_control_write(usbvirt_device_t *dev, ipc_call_t *icall) 134 134 { 135 size_t data_buffer_len = IPC_GET_ARG1(icall);135 size_t data_buffer_len = ipc_get_arg1(icall); 136 136 errno_t rc; 137 137 … … 177 177 usb_transfer_type_t transfer_type, ipc_call_t *icall) 178 178 { 179 usb_endpoint_t endpoint = IPC_GET_ARG1(icall);179 usb_endpoint_t endpoint = ipc_get_arg1(icall); 180 180 181 181 errno_t rc; … … 220 220 usb_transfer_type_t transfer_type, ipc_call_t *icall) 221 221 { 222 usb_endpoint_t endpoint = IPC_GET_ARG1(icall);222 usb_endpoint_t endpoint = ipc_get_arg1(icall); 223 223 224 224 void *data_buffer = NULL; … … 250 250 bool usbvirt_ipc_handle_call(usbvirt_device_t *dev, ipc_call_t *call) 251 251 { 252 switch ( IPC_GET_IMETHOD(call)) {252 switch (ipc_get_imethod(call)) { 253 253 case IPC_M_USBVIRT_GET_NAME: 254 254 ipc_get_name(dev, call); -
uspace/lib/usbvirt/src/ipc_hc.c
reb13ef8 rfafb8e5 113 113 114 114 if (data_transferred_size != NULL) 115 *data_transferred_size = IPC_GET_ARG2(&data_request_call);115 *data_transferred_size = ipc_get_arg2(&data_request_call); 116 116 117 117 return EOK; … … 250 250 251 251 if (act_size != NULL) 252 *act_size = IPC_GET_ARG2(&data_request_call);252 *act_size = ipc_get_arg2(&data_request_call); 253 253 254 254 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.