Changeset 54d9058 in mainline for uspace/drv/uhci-hcd/transfer_list.h
- Timestamp:
- 2011-02-13T11:16:58Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b53ca1e
- Parents:
- dc04868 (diff), 45c01a1 (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/uhci-hcd/transfer_list.h
rdc04868 r54d9058 35 35 #define DRV_UHCI_TRANSFER_LIST_H 36 36 37 #include <fibril_synch.h> 38 37 39 #include "uhci_struct/queue_head.h" 38 40 39 #include " tracker.h"41 #include "batch.h" 40 42 41 43 typedef struct transfer_list 42 44 { 43 tracker_t *last_tracker; 44 45 fibril_mutex_t guard; 45 46 queue_head_t *queue_head; 46 47 uint32_t queue_head_pa; 47 48 struct transfer_list *next; 48 49 const char *name; 50 link_t batch_list; 49 51 } transfer_list_t; 50 52 … … 53 55 void transfer_list_set_next(transfer_list_t *instance, transfer_list_t *next); 54 56 55 56 57 static inline void transfer_list_fini(transfer_list_t *instance) 57 58 { … … 59 60 queue_head_dispose(instance->queue_head); 60 61 } 62 void transfer_list_check(transfer_list_t *instance); 61 63 62 void transfer_list_add_tracker(transfer_list_t *instance, tracker_t *tracker); 63 64 void transfer_list_remove_tracker(transfer_list_t *instance, tracker_t *track); 65 64 void transfer_list_add_batch(transfer_list_t *instance, batch_t *batch); 66 65 #endif 67 66 /**
Note:
See TracChangeset
for help on using the changeset viewer.