csl_sysdata.h

来自「TI达芬奇dm644x各硬件模块测试代码」· C头文件 代码 · 共 48 行

H
48
字号
/*  ============================================================================
 *   Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005                 
 *                                                                              
 *   Use of this software is controlled by the terms and conditions found in the
 *   license agreement under which this software has been supplied.             
 *   ===========================================================================
 */
 
#ifndef _CSL_SYSDATA_H_
#define _CSL_SYSDATA_H_

#include <csl.h>
#include <csl_types.h>

#include <csl_resId.h>
#include <csl_intc.h>

typedef struct CSL_SysDataObj {

    CSL_AltRouteHandler             altRouteHandler;    /* alternate base address router */
    CSL_Phy2VirtHandler             p2vHandler;         /* physical to virtual address mapping routine */
    CSL_Virt2PhyHandler             v2pHandler;         /* virtual to physical address mapping routine */
    Uint32                      versionId;          /* CSL s/w version ID */
    Uint32                      chipId;             /* CSL chip ID */
    void *                          chipRegs;           /* CSL chip Overlay structure, to be initialized
                                                         * in CSL_chipInit() */
    CSL_Xio                         xioInUse;           /* Shared-pin allocation bit-mask */
  
    CSL_BitMask32                   resInUse[(CSL_CHIP_NUM_RESOURCES + 31) / 32]; /* in-use allocMask */
    CSL_BitMask32                   initDone[(CSL_CHIP_NUM_MODULES   + 31) / 32]; /* init-done flags */

/* Include one data pointer for each CSL module
 * that needs additional context memory here under. The
 * actual memory is claimed during CSL Initialization of
 * that particular CSL module.
 */

     CSL_BitMask32 *                intcAllocMask;
     CSL_IntcEventHandlerRecord *	intcEventHandlerRecord;

} CSL_SysDataObj;

typedef CSL_SysDataObj *    CSL_SysDataHandle;
extern  CSL_SysDataHandle   CSL_sysDataHandle;


#endif /* _CSL_SYSDATA_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?