NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Debugging

Detailed Description

Macros

#define wfi()   __asm__ __volatile__("wfi")
 
#define BUG()
 
#define BUG_ON(x)
 
#define BUG_ON_MSG(x,...)
 
#define WARN_ON(x)
 

Macro Definition Documentation

#define BUG ( )
Value:
do { \
pr_error("BUG %s:%d (%s)\n", \
__FILE__, __LINE__, __FUNCTION__); \
while (1) { \
wfi(); \
} \
} while (0)
#define wfi()
Definition: bug.h:32
void QbDumpStack(void)
Shows the call stack trace.

Definition at line 34 of file bug.h.

Referenced by AdjustPointers().

#define BUG_ON (   x)
Value:
do { \
if ((x) != 0) \
BUG(); \
} while (0)
#define BUG()
Definition: bug.h:34

Definition at line 44 of file bug.h.

#define BUG_ON_MSG (   x,
  ... 
)
Value:
do { \
if ((x) != 0) {\
pr_error(__VA_ARGS__);\
BUG();\
} \
} while (0)
#define BUG()
Definition: bug.h:34

Definition at line 50 of file bug.h.

#define WARN_ON (   x)
Value:
do { \
if ((x) != 0) \
{ \
pr_error("WARN %s:%d (%s)\n", \
__FILE__, __LINE__, __FUNCTION__); \
} \
} while (0)
void QbDumpStack(void)
Shows the call stack trace.

Definition at line 59 of file bug.h.

#define wfi ( )    __asm__ __volatile__("wfi")

Definition at line 32 of file bug.h.