Changeset cb89430 in mainline for uspace/drv/bus/usb/xhci/hw_struct/context.h
- Timestamp:
- 2017-06-22T13:59:15Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e4d7363
- Parents:
- 62ba2cbe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hw_struct/context.h
r62ba2cbe rcb89430 43 43 44 44 #include <stdint.h> 45 #include <common.h>45 #include "common.h" 46 46 47 47 /** … … 67 67 #define XHCI_EP_TR_DPTR(ctx) XHCI_DWORD_EXTRACT((ctx).data[2], 63, 4) 68 68 69 } ep_ctx_t __attribute__((packed));69 } __attribute__((packed)) xhci_ep_ctx_t; 70 70 71 71 /** … … 93 93 #define XHCI_SLOT_SLOT_STATE(ctx) XHCI_DWORD_EXTRACT((ctx).data[3], 31, 27) 94 94 95 } xhci_slot_ctx_t __attribute__((packed));95 } __attribute__((packed)) xhci_slot_ctx_t; 96 96 97 97 /** … … 101 101 xhci_slot_ctx_t slot_ctx; 102 102 xhci_ep_ctx_t endpoint_ctx [31]; 103 } xhci_device_ctx_t;103 } __attribute__((packed)) xhci_device_ctx_t; 104 104 105 105 /** … … 108 108 typedef struct xhci_stream_ctx { 109 109 uint64_t data [2]; 110 } xhci_stream_ctx_t __attribute__((packed));110 } __attribute__((packed)) xhci_stream_ctx_t; 111 111 112 112 #endif
Note:
See TracChangeset
for help on using the changeset viewer.