36 #define ASSERT(condition) if (!(condition)) STB_SPDebugAssertFail(__FILE__, __LINE__, # condition);
39 #define ASSERT(condition) assert(condition);
43 #define DBG_ErrorPrintf (F_Printf)STB_SPDebugNoCnWrite
45 #define DBG_ErrorPrintf (F_Printf)NULL
48 #define DBG_WarnPrintf (F_Printf)STB_SPDebugNoCnWrite
50 #define DBG_WarnPrintf (F_Printf)NULL
53 #define DBG_DebugPrintf (F_Printf)STB_SPDebugNoCnWrite
55 #define DBG_DebugPrintf (F_Printf)NULL
58 #define DBG_InfoPrintf (F_Printf)STB_SPDebugNoCnWrite
60 #define DBG_InfoPrintf (F_Printf)NULL
63 #define ERRPRINT(x, ...) STB_SPDebugWrite( "%s:%d " x, __FUNCTION__, __LINE__, ##__VA_ARGS__);
64 #define DBGPRINT(t, x, ...) if (DebugInstanceGetMask(dsmctrl) & t) \
65 STB_SPDebugWrite( "%s:%d " x, __FUNCTION__, __LINE__, ##__VA_ARGS__);
67 U32BIT DebugInstanceGetMask(H_DsmControl dsmctrl);
71 #define ASSERT(condition)
75 #define DBG_ErrorPrintf NULL
76 #define DBG_DebugPrintf NULL
80 #define FUNCTION_START(x)
81 #define FUNCTION_FINISH(x)
Interface to platform debug functions.
DSM-CC API functions to control DSM-CC instance.