Changeset 1cf26ab in mainline for uspace/drv
- Timestamp:
- 2016-05-14T06:44:37Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 362654a
- Parents:
- 1023758
- Location:
- uspace/drv/bus/usb
- Files:
-
- 2 edited
-
ohci/hw_struct/hcca.h (modified) (1 diff)
-
uhci/uhci_batch.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hw_struct/hcca.h
r1023758 r1cf26ab 65 65 static inline hcca_t * hcca_get(void) 66 66 { 67 assert(sizeof(hcca_t) == 256);67 static_assert(sizeof(hcca_t) == 256); 68 68 hcca_t *hcca = memalign(256, sizeof(hcca_t)); 69 69 if (hcca) -
uspace/drv/bus/usb/uhci/uhci_batch.c
r1023758 r1cf26ab 87 87 uhci_transfer_batch_t * uhci_transfer_batch_get(usb_transfer_batch_t *usb_batch) 88 88 { 89 assert((sizeof(td_t) % 16) == 0);89 static_assert((sizeof(td_t) % 16) == 0); 90 90 #define CHECK_NULL_DISPOSE_RETURN(ptr, message...) \ 91 91 if (ptr == NULL) { \
Note:
See TracChangeset
for help on using the changeset viewer.
