Changeset 53338bda in mainline for uspace/drv/uhci-hcd/transfer_list.c
- Timestamp:
- 2011-02-11T17:59:34Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f6309b6
- Parents:
- 518372c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/transfer_list.c
r518372c r53338bda 100 100 } 101 101 } 102 /*----------------------------------------------------------------------------*/ 103 void transfer_list_remove_tracker(transfer_list_t *instance, tracker_t *tracker) 104 { 105 assert(instance); 106 assert(tracker); 107 assert(instance->queue_head); 108 assert(tracker->td); 109 110 uint32_t pa = (uintptr_t)addr_to_phys(tracker->td); 111 if ((instance->queue_head->element & LINK_POINTER_ADDRESS_MASK) == pa) { 112 instance->queue_head->element = tracker->td->next; 113 } 114 } 102 115 /** 103 116 * @}
Note:
See TracChangeset
for help on using the changeset viewer.