Changeset f9014bc in mainline
- Timestamp:
- 2011-02-09T10:27:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f96aefc
- Parents:
- 2964aa87
- Location:
- uspace/drv/uhci-hcd/uhci_struct
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/uhci_struct/transfer_descriptor.c
r2964aa87 rf9014bc 44 44 assert(instance); 45 45 46 instance->next = 47 0 | LINK_POINTER_TERMINATE_FLAG; 46 instance->next = 0 | LINK_POINTER_TERMINATE_FLAG; 48 47 49 assert(size < 1024);50 48 instance->status = 0 51 49 | ((error_count & TD_STATUS_ERROR_COUNT_MASK) << TD_STATUS_ERROR_COUNT_POS) 52 50 | TD_STATUS_ERROR_ACTIVE; 53 51 52 assert(size < 1024); 54 53 instance->device = 0 55 54 | (((size - 1) & TD_DEVICE_MAXLEN_MASK) << TD_DEVICE_MAXLEN_POS) -
uspace/drv/uhci-hcd/uhci_struct/transfer_descriptor.h
r2964aa87 rf9014bc 101 101 { 102 102 assert(instance); 103 return instance->status & TD_STATUS_ERROR_ACTIVE;103 return (instance->status & TD_STATUS_ERROR_ACTIVE) != 0; 104 104 } 105 105 #endif
Note:
See TracChangeset
for help on using the changeset viewer.