00001 00045 #if !defined (DM6467GEM_HAL_H) 00046 #define DM6467GEM_HAL_H 00047 00048 00049 /* ----------------------------------- DSP/BIOS Link */ 00050 #include <dsplink.h> 00051 #include <_dsplink.h> 00052 00053 /* ----------------------------------- Trace & Debug */ 00054 #include <_trace.h> 00055 00056 /* ----------------------------------- Hardware Abstraction Layer */ 00057 #include <hal.h> 00058 00059 00060 #if defined (__cplusplus) 00061 extern "C" { 00062 #endif 00063 00064 00065 /* ============================================================================ 00066 * @macro REG 00067 * 00068 * @brief Regsiter access method. 00069 * ============================================================================ 00070 */ 00071 #define REG(x) *((volatile Uint32 *) (x)) 00072 00073 00087 typedef struct DM6467GEM_HalObj_tag { 00088 HAL_Interface * interface ; 00089 Uint32 baseCfgBus ; 00090 Uint32 offsetSysModule ; 00091 } DM6467GEM_HalObj ; 00092 00093 00118 NORMAL_API 00119 DSP_STATUS 00120 DM6467GEM_halInit (IN Pvoid * halObj, 00121 IN Pvoid initParams) ; 00122 00123 00144 NORMAL_API 00145 DSP_STATUS 00146 DM6467GEM_halExit (IN Pvoid * halObj) ; 00147 00148 00149 #if defined (__cplusplus) 00150 } 00151 #endif 00152 00153 00154 #endif /* !defined (DM6467GEM_HAL_H) */