00001 00043 #if !defined (DRX416GEM_HAL_H) 00044 #define DRX416GEM_HAL_H 00045 00046 00047 /* ----------------------------------- DSP/BIOS Link */ 00048 #include <dsplink.h> 00049 #include <_dsplink.h> 00050 00051 /* ----------------------------------- Trace & Debug */ 00052 #include <_trace.h> 00053 00054 /* ----------------------------------- Hardware Abstraction Layer */ 00055 #include <hal.h> 00056 00057 00058 #if defined (__cplusplus) 00059 extern "C" { 00060 #endif 00061 00062 00063 /* ============================================================================ 00064 * @macro REG 00065 * 00066 * @brief Regsiter access method. 00067 * ============================================================================ 00068 */ 00069 #define REG(x) *((volatile Uint32 *) (x)) 00070 00071 00085 typedef struct DRX416GEM_HalObj_tag { 00086 HAL_Interface * interface ; 00087 Uint32 baseCfgBus ; 00088 Uint32 offsetSysModule ; 00089 } DRX416GEM_HalObj ; 00090 00091 00114 NORMAL_API 00115 DSP_STATUS 00116 DRX416GEM_halInit (IN Pvoid * halObj, 00117 IN Pvoid initParams) ; 00118 00119 00140 NORMAL_API 00141 DSP_STATUS 00142 DRX416GEM_halExit (IN Pvoid * halObj) ; 00143 00144 00145 #if defined (__cplusplus) 00146 } 00147 #endif 00148 00149 00150 #endif /* !defined (DRX416GEM_HAL_H) */