00001 00043 #if !defined (DSPLINK_H) 00044 #define DSPLINK_H 00045 00046 00047 /* ----------------------------------- DSP/BIOS Link */ 00048 #include <gpptypes.h> 00049 #include <constants.h> 00050 #include <errbase.h> 00051 #include <archdefs.h> 00052 #include <linkcfgdefs.h> 00053 00054 00055 #if defined (__cplusplus) 00056 extern "C" { 00057 #endif 00058 00059 00060 /* ============================================================================ 00061 * @const MAX_IPS 00062 * 00063 * @brief Maximum number of IPS objects supported for each DSP. 00064 * 00065 * ============================================================================ 00066 */ 00067 #define MAX_IPS 16u 00068 00069 /* ============================================================================ 00070 * @const DSPLINK_TERMINATE_EVT 00071 * 00072 * @brief The event number (0 - 31) to use for the DSPLink terminate event. 00073 * This must match with dsplink/dsp/inc/dsplink.h. The default 00074 * value (-1) disables the terminate event signaling. Modify this 00075 * definition to enable the feature and to specify the terminate 00076 * event number. 00077 * 00078 * Example usage to enable terminate event. 00079 * 00080 * #define DSPLINK_TERMINATE_EVT 28 00081 * ============================================================================ 00082 */ 00083 #define DSPLINK_TERMINATE_EVT (-1) 00084 00091 #define WAIT_FOREVER (~((Uint32) 0u)) 00092 00099 #define WAIT_NONE ((Uint32) 0u) 00100 00101 00108 #define IS_GPPID(id) (id == ID_GPP) 00109 00110 00111 #if defined (__cplusplus) 00112 } 00113 #endif 00114 00115 00116 #endif /* !defined (DSPLINK_H) */