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