00001 00043 #if !defined (DRX416GEM_PHY_SHMEM_H) 00044 #define DRX416GEM_PHY_SHMEM_H 00045 00046 00047 /* ----------------------------------- DSP/BIOS Link */ 00048 #include <dsplink.h> 00049 00050 /* ----------------------------------- Hardware Abstraction Layer */ 00051 #include <hal.h> 00052 00053 00054 #if defined (__cplusplus) 00055 extern "C" { 00056 #endif 00057 00058 00059 /* ============================================================================ 00060 * @const OFFSET_SYSTEM_MODULE 00061 * 00062 * @brief Offset of the system module registers from the base of the CFG 00063 * memory. 00064 * ============================================================================ 00065 */ 00066 #define OFFSET_SYSTEM_MODULE 0x48000u 00067 00068 00075 extern HAL_Interface DRX416GEM_shmemInterface ; 00076 00077 00078 /* ============================================================================ 00079 * @func DRX416GEM_phyShmemInit 00080 * 00081 * @brief Initializes Shared Driver/device. 00082 * 00083 * @param halObject. 00084 * HAL object. 00085 * 00086 * @return DSP_SOK 00087 * Operation successfully completed. 00088 * DSP_EFAIL 00089 * All other error conditions. 00090 * 00091 * @pre None. 00092 * 00093 * @post None. 00094 * 00095 * @see None 00096 * ============================================================================ 00097 */ 00098 NORMAL_API 00099 DSP_STATUS 00100 DRX416GEM_phyShmemInit (IN Pvoid halObj) ; 00101 00102 00103 /* ============================================================================ 00104 * @func DRX416GEM_phyShmemExit 00105 * 00106 * @brief Finalizes Shared Driver/device. 00107 * 00108 * @param halObject. 00109 * HAL object. 00110 * 00111 * @return DSP_SOK 00112 * Operation successfully completed. 00113 * DSP_EFAIL 00114 * All other error conditions. 00115 * 00116 * @pre None. 00117 * 00118 * @post None. 00119 * 00120 * @see None 00121 * ============================================================================ 00122 */ 00123 NORMAL_API 00124 DSP_STATUS 00125 DRX416GEM_phyShmemExit (IN Pvoid halObj) ; 00126 00127 00128 #if defined (__cplusplus) 00129 } 00130 #endif 00131 00132 00133 #endif /* !defined (DRX416GEM_PHY_SHMEM_H) */