Changeset 0a520db in mainline for uspace/drv
- Timestamp:
- 2019-01-10T18:39:16Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a91b828
- Parents:
- f47c2dc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-01-10 18:38:24)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-01-10 18:39:16)
- Location:
- uspace/drv/bus/usb
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h
rf47c2dc1 r0a520db 88 88 #define TD_BUFFER_POINTER_OFFSET_MASK 0xfff 89 89 90 static_assert(sizeof(td_t) % 32 == 0 );90 static_assert(sizeof(td_t) % 32 == 0, ""); 91 91 92 92 static inline bool td_active(const td_t *td) -
uspace/drv/bus/usb/ohci/hw_struct/hcca.h
rf47c2dc1 r0a520db 61 61 } hcca_t; 62 62 63 static_assert(sizeof(hcca_t) == 256 );63 static_assert(sizeof(hcca_t) == 256, ""); 64 64 65 65 /** Allocate properly aligned structure. -
uspace/drv/bus/usb/uhci/uhci_batch.c
rf47c2dc1 r0a520db 96 96 int uhci_transfer_batch_prepare(uhci_transfer_batch_t *uhci_batch) 97 97 { 98 static_assert((sizeof(td_t) % 16) == 0 );98 static_assert((sizeof(td_t) % 16) == 0, ""); 99 99 100 100 usb_transfer_batch_t *usb_batch = &uhci_batch->base; -
uspace/drv/bus/usb/xhci/trb_ring.c
rf47c2dc1 r0a520db 53 53 } __attribute__((aligned(PAGE_SIZE))); 54 54 55 static_assert(sizeof(trb_segment_t) == PAGE_SIZE );55 static_assert(sizeof(trb_segment_t) == PAGE_SIZE, ""); 56 56 57 57 /**
Note:
See TracChangeset
for help on using the changeset viewer.