Changeset 23cb44b in mainline
- Timestamp:
- 2010-10-26T13:43:11Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2185776
- Parents:
- ca07cd3
- Location:
- uspace/lib/usbvirt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/stdreq.c
rca07cd3 r23cb44b 189 189 HANDLE_REQUEST(request, data, USB_DEVREQ_GET_DESCRIPTOR, 190 190 device, on_get_descriptor, 191 handle_get_descriptor(device, request->value_ low, request->value_high,191 handle_get_descriptor(device, request->value_high, request->value_low, 192 192 request->index, request->length)); 193 193 -
uspace/lib/usbvirt/transaction.c
rca07cd3 r23cb44b 35 35 #include <errno.h> 36 36 #include <stdlib.h> 37 #include <stdio.h>38 37 #include <mem.h> 39 38 … … 79 78 transfer->direction = setup_transaction_direction(device, endpoint, 80 79 buffer, size); 81 transfer->request = buffer; 80 transfer->request = malloc(size); 81 memcpy(transfer->request, buffer, size); 82 82 transfer->request_size = size; 83 83 transfer->data = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.