00001 00043 #if !defined (OMAP3530_HAL_H) 00044 #define OMAP3530_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 /* ----------------------------------- OSAL Headers */ 00058 #include <osal.h> 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 00107 typedef struct OMAP3530_HalObj_tag { 00108 HAL_Interface * interface ; 00109 IsrObject * isrObject ; 00110 Uint32 generalCtrlBase ; 00111 Uint32 iva2CmBase ; 00112 Uint32 coreCmBase ; 00113 Uint32 perCmBase ; 00114 Uint32 iva2PrmBase ; 00115 Uint32 mailboxBase ; 00116 Uint32 mmuBase ; 00117 Uint32 tlbIndex ; 00118 Uint32 procId ; 00119 Bool type ; 00120 00121 } OMAP3530_HalObj ; 00122 00123 00146 NORMAL_API 00147 DSP_STATUS 00148 OMAP3530_halInit (IN Pvoid * halObj, 00149 IN Pvoid initParams) ; 00150 00151 00172 NORMAL_API 00173 DSP_STATUS 00174 OMAP3530_halExit (IN Pvoid * halObj) ; 00175 00176 00177 #if defined (__cplusplus) 00178 } 00179 #endif 00180 00181 00182 #endif /* !defined (OMAP3530_HAL_H) */