Changeset 3375bd4 in mainline for uspace/drv/vhc/transfer.c
- Timestamp:
- 2011-05-17T07:44:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 04c418d, 2586860, 5e6e50b
- Parents:
- 72cd53d (diff), 0d8a304 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/transfer.c
r72cd53d r3375bd4 4 4 #include <usbvirt/ipc.h> 5 5 #include "vhcd.h" 6 7 #define list_foreach(pos, head) \8 for (pos = (head)->next; pos != (head); \9 pos = pos->next)10 6 11 7 vhc_transfer_t *vhc_transfer_create(usb_address_t address, usb_endpoint_t ep, … … 67 63 fibril_mutex_lock(&vhc->guard); 68 64 69 link_t *pos;70 65 bool target_found = false; 71 list_foreach( pos, &vhc->devices) {66 list_foreach(vhc->devices, pos) { 72 67 vhc_virtdev_t *dev = list_get_instance(pos, vhc_virtdev_t, link); 73 68 fibril_mutex_lock(&dev->guard);
Note:
See TracChangeset
for help on using the changeset viewer.