Changeset 81d5f74 in mainline
- Timestamp:
- 2013-12-30T18:33:17Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 35c874a
- Parents:
- 2acae4d
- Location:
- uspace/drv/bus/usb/ohci/hw_struct
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hw_struct/hcca.h
r2acae4d r81d5f74 37 37 #include <malloc.h> 38 38 #include <sys/types.h> 39 #include <macros.h> 39 40 40 41 #include "mem_access.h" … … 50 51 /** Frame number. */ 51 52 uint16_t frame_number; 52 uint16_t pad1;53 PADD16; 53 54 /** Pointer to the last completed TD. (useless) */ 54 55 uint32_t done_head; 55 56 /** Padding to make the size 256B */ 56 uint32_t reserved[30];57 PADD32[30]; 57 58 } hcca_t; 58 59 … … 80 81 { 81 82 assert(hcca); 82 assert(index < HCCA_INT_EP_COUNT);83 assert(index < ARRAY_SIZE(hcca->int_ep)); 83 84 OHCI_MEM32_WR(hcca->int_ep[index], pa); 84 85 -
uspace/drv/bus/usb/ohci/hw_struct/mem_access.h
r2acae4d r81d5f74 47 47 * @} 48 48 */ 49
Note:
See TracChangeset
for help on using the changeset viewer.