Internal Platform dependent definitions, for debug.
More...
#include "cldsmdbg.h"
#include <assert.h>
Go to the source code of this file.
|
#define | dsmAssert(assertion) assert assertion |
|
#define | ASSERT(condition) assert(condition); |
|
#define | DSM_DP_LEVEL (1) /* -- default */ |
|
#define | dsmDP1(x) if (DBG_ErrorPrintfFunc) DBG_ErrorPrintfFunc x |
|
#define | ERRPRINT(x, ...) if (DBG_ErrorPrintfFunc) DBG_ErrorPrintfFunc("%s:%d ERROR: " x "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__); |
|
#define | DBG1(f, x, ...) if (DBG_ErrorPrintfFunc && (f & dsmDbgState)) DBG_ErrorPrintfFunc("%s:%d " x "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__); |
|
#define | ERRLOG(f, x, ...) if (DBG_ErrorPrintfFunc) DBG_ErrorPrintfFunc("%s:%d " x "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__); |
|
#define | DBGLOG(f, x, ...) if (DBG_ErrorPrintfFunc && (f & idp->dbgMask)) DBG_ErrorPrintfFunc("%s:%d " x "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__); |
|
#define | DBGERRCHK(err) if (err) { ERRPRINT("err=%d",err) } |
|
#define | dsmDP2(x) |
|
#define | DBG2(f, x, ...) |
|
#define | dsmDP3(x) |
|
#define | DBG3(f, x, ...) |
|
#define | dsmDP4(x) |
|
#define | DBG4(f, x, ...) |
|
|
void | STB_SPDumpWrite (U8BIT *data, U32BIT size) |
|
|
F_Printf | DBG_ErrorPrintfFunc |
|
F_Printf | DBG_WarnPrintfFunc |
|
F_Printf | DBG_DebugPrintfFunc |
|
F_Printf | DBG_InfoPrintffunc |
|
U32BIT | dsmDbgState |
|
Internal Platform dependent definitions, for debug.
- Date
- 01/12/2004
- Author
- Ocean Blue