Changeset 4688350b in mainline for uspace/drv/bus/usb/xhci/commands.h
- Timestamp:
- 2017-10-01T22:54:09Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 370a1c8
- Parents:
- 4d28d86
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/commands.h
r4d28d86 r4688350b 39 39 #include <adt/list.h> 40 40 #include <stdbool.h> 41 #include <fibril_synch.h> 41 42 #include "hw_struct/trb.h" 42 43 … … 56 57 bool has_owner; 57 58 bool owns_trb; 59 60 /* Will be unlocked after command completes */ 61 fibril_mutex_t completed_mtx; 62 fibril_condvar_t completed_cv; 58 63 } xhci_cmd_t; 59 64 … … 62 67 int xhci_wait_for_command(xhci_cmd_t *, uint32_t); 63 68 xhci_cmd_t *xhci_alloc_command(void); 69 void xhci_cmd_init(xhci_cmd_t *); 64 70 void xhci_free_command(xhci_cmd_t *); 65 71
Note:
See TracChangeset
for help on using the changeset viewer.