00001 00044 #if !defined (ID_ARCH_HAL_MMU_H) 00045 #define ID_ARCH_HAL_MMU_H 00046 00047 00048 /* ----------------------------------- DSP/BIOS Link */ 00049 #include <dsplink.h> 00050 #include <_dsplink.h> 00051 00052 /* ----------------------------------- Trace & Debug */ 00053 #include <_trace.h> 00054 00055 /* ----------------------------------- Generic Functions */ 00056 #include <list.h> 00057 00058 /* ----------------------------------- Hardware Abstraction Layer */ 00059 #include <omap2530_hal.h> 00060 00061 00062 #if defined (__cplusplus) 00063 extern "C" { 00064 #endif 00065 00087 typedef struct listOfEntries { 00088 ListElement element ; 00089 Uint32 dspVirtAddr ; 00090 Uint32 actualSize ; 00091 Uint32 processAddr ; 00092 Uint32 processSize ; 00093 Uint32 tlbEntry ; 00094 Bool type ; 00095 } MMU_EntryInfo ; 00096 00131 NORMAL_API 00132 DSP_STATUS 00133 OMAP2530_halMmuCtrl (IN Pvoid halObj, 00134 IN DSP_MmuCtrlCmd cmd, 00135 IN LINKCFG_MemEntry * memTable, 00136 IN Uint32 memEntries, 00137 IN ProcMemMapInfo * mmuInfo) ; 00138 00139 00140 #if defined (__cplusplus) 00141 } 00142 #endif 00143 00144 00145 #endif /* !defined (OMAP2530_HAL_PWR_H) */