Changes in uspace/drv/ohci/endpoint_list.h [d736fe38:23f40280] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/endpoint_list.h
rd736fe38 r23f40280 41 41 #include "utils/malloc32.h" 42 42 43 /** Structure maintains both OHCI queue and software list of active endpoints.*/ 44 typedef struct endpoint_list 45 { 46 /** Guard against add/remove races */ 43 typedef struct endpoint_list { 47 44 fibril_mutex_t guard; 48 /** OHCI hw structure at the beginning of the queue */49 45 ed_t *list_head; 50 /** Physical address of the first(dummy) ED */51 46 uint32_t list_head_pa; 52 /** Assigned name, provides nicer debug output */53 47 const char *name; 54 /** Sw list of all active EDs */55 48 link_t endpoint_list; 56 49 } endpoint_list_t; … … 60 53 * @param[in] instance Memory place to use. 61 54 * 62 * Frees memory of the internal ed_t structure.55 * Frees memory for internal qh_t structure. 63 56 */ 64 57 static inline void endpoint_list_fini(endpoint_list_t *instance) … … 75 68 76 69 void endpoint_list_remove_ep(endpoint_list_t *instance, hcd_endpoint_t *hcd_ep); 70 #if 0 71 void endpoint_list_remove_finished(endpoint_list_t *instance, link_t *done); 72 73 void endpoint_list_abort_all(endpoint_list_t *instance); 74 #endif 77 75 #endif 78 76 /**
Note:
See TracChangeset
for help on using the changeset viewer.