Changeset b04967a in mainline for uspace/drv/ohci/hw_struct/hcca.h
- Timestamp:
- 2011-04-07T15:53:46Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c156c2d
- Parents:
- 64dbc83 (diff), a82889e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/hw_struct/hcca.h
r64dbc83 rb04967a 1 1 /* 2 * Copyright (c) 201 0 Martin Decky2 * Copyright (c) 2011 Jan Vesely 3 3 * All rights reserved. 4 4 * … … 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 29 /** @addtogroup abs32le 28 /** @addtogroup drvusbohci 30 29 * @{ 31 30 */ 32 31 /** @file 32 * @brief OHCI driver 33 */ 34 #ifndef DRV_OHCI_HW_STRUCT_HCCA_H 35 #define DRV_OHCI_HW_STRUCT_HCCA_H 36 37 #include <stdint.h> 38 39 typedef struct hcca { 40 uint32_t int_ep[32]; 41 uint16_t frame_number; 42 uint16_t pad1; 43 uint32_t done_head; 44 uint32_t reserved[29]; 45 } __attribute__((packed)) hcca_t; 46 47 #endif 48 /** 49 * @} 33 50 */ 34 51 35 #ifndef KERN_abs32le_MEMSTR_H_36 #define KERN_abs32le_MEMSTR_H_37 38 #define memcpy(dst, src, cnt) _memcpy((dst), (src), (cnt))39 #define memsetb(dst, cnt, val) _memsetb((dst), (cnt), (val))40 #define memsetw(dst, cnt, val) _memsetw((dst), (cnt), (val))41 42 #endif43 44 /** @}45 */
Note:
See TracChangeset
for help on using the changeset viewer.