Changes in uspace/lib/usbvirt/src/ipc_hc.c [25a179e:db51a6a6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/src/ipc_hc.c
r25a179e rdb51a6a6 50 50 * @param data_buffer Data buffer (DATA stage of control transfer). 51 51 * @param data_buffer_size Size of data buffer in bytes. 52 * @param data_transfer ed_size Number of actually transferred bytes.52 * @param data_transferred_size Number of actually transferred bytes. 53 53 * 54 54 * @return Error code. … … 57 57 int usbvirt_ipc_send_control_read(async_sess_t *sess, void *setup_buffer, 58 58 size_t setup_buffer_size, void *data_buffer, size_t data_buffer_size, 59 size_t *data_transfer ed_size)59 size_t *data_transferred_size) 60 60 { 61 61 if (!sess) … … 95 95 } 96 96 97 int data_request_rc;98 int opening_request_rc;97 sysarg_t data_request_rc; 98 sysarg_t opening_request_rc; 99 99 async_wait_for(data_request, &data_request_rc); 100 100 async_wait_for(opening_request, &opening_request_rc); … … 111 111 return (int) opening_request_rc; 112 112 113 if (data_transfer ed_size != NULL)114 *data_transfer ed_size = IPC_GET_ARG2(data_request_call);113 if (data_transferred_size != NULL) 114 *data_transferred_size = IPC_GET_ARG2(data_request_call); 115 115 116 116 return EOK; … … 168 168 async_exchange_end(exch); 169 169 170 int opening_request_rc;170 sysarg_t opening_request_rc; 171 171 async_wait_for(opening_request, &opening_request_rc); 172 172 … … 230 230 } 231 231 232 int data_request_rc;233 int opening_request_rc;232 sysarg_t data_request_rc; 233 sysarg_t opening_request_rc; 234 234 async_wait_for(data_request, &data_request_rc); 235 235 async_wait_for(opening_request, &opening_request_rc); … … 305 305 } 306 306 307 int opening_request_rc;307 sysarg_t opening_request_rc; 308 308 async_wait_for(opening_request, &opening_request_rc); 309 309
Note:
See TracChangeset
for help on using the changeset viewer.