Changeset f8e8738 in mainline for uspace/drv/ohci/hw_struct/hcca.h


Ignore:
Timestamp:
2011-04-07T20:22:40Z (15 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fee6381
Parents:
61257f4 (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.
Message:

Changes from development

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/hw_struct/hcca.h

    r61257f4 rf8e8738  
    11/*
    2  * Copyright (c) 2010 Martin Decky
     2 * Copyright (c) 2011 Jan Vesely
    33 * All rights reserved.
    44 *
     
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
    28 
    29 /** @addtogroup abs32le
     28/** @addtogroup drvusbohci
    3029 * @{
    3130 */
    3231/** @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
     39typedef 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 * @}
    3350 */
    3451
    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 #endif
    43 
    44 /** @}
    45  */
Note: See TracChangeset for help on using the changeset viewer.