Changeset 60d3f35 in mainline
- Timestamp:
- 2018-01-20T12:23:18Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 129b821f
- Parents:
- c280d7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hw_struct/context.h
rc280d7e r60d3f35 189 189 #define XHCI_GET_EP_CTX(dev_ctx, hc, dci) (xhci_ep_ctx_t *)((char*)dev_ctx + (dci + XHCI_EP_ARRAY_OFFSET) * XHCI_ONE_CTX_SIZE(hc)) 190 190 191 /** 192 * As control, slot and endpoint contexts differ in size on different HCs, 193 * we need to use macros to access them at the correct offsets. The following 194 * empty structs (xhci_device_ctx_t and xhci_input_ctx_t) are used only as 195 * void pointers for type-checking. 196 */ 191 197 typedef struct xhci_device_ctx { 192 198 } xhci_device_ctx_t;
Note:
See TracChangeset
for help on using the changeset viewer.