Changeset dcc5b9d in mainline
- Timestamp:
- 2011-01-28T11:58:27Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb03e92
- Parents:
- 579dec2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci/uhci_struct/transfer_descriptor.h
r579dec2 rdcc5b9d 95 95 } __attribute__((packed)) transfer_descriptor_t; 96 96 97 97 98 void transfer_descriptor_init(transfer_descriptor_t *instance, 98 99 int error_count, size_t size, bool isochronous, usb_target_t target, 99 100 int pid); 100 101 102 static inline transfer_descriptor_t * transfer_descriptor_get( 103 int error_count, size_t size, bool isochronous, usb_target_t target, int pid) 104 { 105 transfer_descriptor_t * instance = 106 trans_malloc(sizeof(transfer_descriptor_t)); 107 108 if (instance) 109 transfer_descriptor_init( 110 instance, error_count, size, isochronous, target, pid); 111 return instance; 112 } 113 101 114 void transfer_descriptor_fini(transfer_descriptor_t *instance); 115 116 static inline void transfer_descriptor_dispose(transfer_descriptor_t *instance) 117 { 118 assert(instance); 119 transfer_descriptor_fini(instance); 120 trans_free(instance); 121 } 102 122 103 123 static inline void transfer_descriptor_append(
Note:
See TracChangeset
for help on using the changeset viewer.