FreeBSD kernel pms device code
osdebug.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OS_ASSERT(expr, message)
 
#define AG_ERROR_MSG(mask, val, format)
 
#define TIDEBUG_MSG(mask, val, format)
 
#define TIDEBUG_MSG0(format)
 
#define fcEnableTraceFunctions   0
 

Macro Definition Documentation

◆ AG_ERROR_MSG

#define AG_ERROR_MSG (   mask,
  val,
  format 
)
Value:
do { \
if (mask) \
{ \
if (mask >= val) \
printf format; \
} \
else \
printf format; \
} while (0)

Definition at line 66 of file osdebug.h.

◆ fcEnableTraceFunctions

#define fcEnableTraceFunctions   0

Definition at line 116 of file osdebug.h.

◆ OS_ASSERT

#define OS_ASSERT (   expr,
  message 
)
Value:
do { \
if (!(expr)) \
{ \
printf("ASSERT: %s", message); \
printf(" - file %s, line %d\n", __FILE__, __LINE__); \
} \
} while (0)

Definition at line 56 of file osdebug.h.

◆ TIDEBUG_MSG

#define TIDEBUG_MSG (   mask,
  val,
  format 
)

Definition at line 103 of file osdebug.h.

◆ TIDEBUG_MSG0

#define TIDEBUG_MSG0 (   format)

Definition at line 104 of file osdebug.h.