00001 00043 #if !defined (OMAP2530_HAL_H) 00044 #define OMAP2530_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 00061 00062 #if defined (__cplusplus) 00063 extern "C" { 00064 #endif 00065 00066 00092 typedef struct OMAP2530_HalObj_tag { 00093 HAL_Interface * interface ; 00094 IsrObject * isrObject ; 00095 Uint32 generalCtrlBase ; 00096 Uint32 mailboxBase ; 00097 Uint32 mmuBase ; 00098 Uint32 prcmBase ; 00099 Uint32 tlbIndex ; 00100 Uint32 procId ; 00101 Bool type ; 00102 } OMAP2530_HalObj ; 00103 00104 00127 NORMAL_API 00128 DSP_STATUS 00129 OMAP2530_halInit (IN Pvoid * halObj, 00130 IN Pvoid initParams) ; 00131 00132 00153 NORMAL_API 00154 DSP_STATUS 00155 OMAP2530_halExit (IN Pvoid * halObj) ; 00156 00157 00158 #if defined (__cplusplus) 00159 } 00160 #endif 00161 00162 00163 #endif /* !defined (OMAP2530_HAL_H) */