00001 00043 #if !defined (TNETV107XGEM_PHY_SHMEM_H) 00044 #define TNETV107XGEM_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 INTD_BASE/CHIP_CFG_BASE/CLK_CTRL_BASE 00061 * 00062 * @brief Base address of different Peripherals. 00063 * ============================================================================ 00064 */ 00065 #define INTD_BASE 0x08038000 00066 #define CHIP_CFG_BASE 0x08087000 00067 #define CLK_CTRL_BASE 0x0808A000 00068 00069 00076 extern HAL_Interface TNETV107XGEM_shmemInterface ; 00077 00078 00079 /* ============================================================================ 00080 * @func TNETV107XGEM_phyShmemInit 00081 * 00082 * @brief Initializes Shared Driver/device. 00083 * 00084 * @param halObject. 00085 * HAL object. 00086 * 00087 * @return DSP_SOK 00088 * Operation successfully completed. 00089 * DSP_EFAIL 00090 * All other error conditions. 00091 * 00092 * @pre None. 00093 * 00094 * @post None. 00095 * 00096 * @see None 00097 * ============================================================================ 00098 */ 00099 NORMAL_API 00100 DSP_STATUS 00101 TNETV107XGEM_phyShmemInit (IN Pvoid halObj) ; 00102 00103 00104 /* ============================================================================ 00105 * @func TNETV107XGEM_phyShmemExit 00106 * 00107 * @brief Finalizes Shared Driver/device. 00108 * 00109 * @param halObject. 00110 * HAL object. 00111 * 00112 * @return DSP_SOK 00113 * Operation successfully completed. 00114 * DSP_EFAIL 00115 * All other error conditions. 00116 * 00117 * @pre None. 00118 * 00119 * @post None. 00120 * 00121 * @see None 00122 * ============================================================================ 00123 */ 00124 NORMAL_API 00125 DSP_STATUS 00126 TNETV107XGEM_phyShmemExit (IN Pvoid halObj) ; 00127 00128 00129 #if defined (__cplusplus) 00130 } 00131 #endif 00132 00133 00134 #endif /* !defined (TNETV107XGEM_PHY_SHMEM_H) */