Add more debugging macros
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
9c7d961c5a
commit
f8d2ccc0d0
@ -10,6 +10,13 @@
|
||||
#define __XTDK_XTDEBUG_H
|
||||
|
||||
|
||||
/* Debugging macros */
|
||||
#define CHECKPOINT LdrPrint(L"Checkpoint reached at %s:%d\n", __FILE__, __LINE__);
|
||||
#define DEPRECATED LdrPrint(L"Called deprecated routine '%s()' at %s:%d\n", \
|
||||
__FUNCTION__, __FILE__, __LINE__);
|
||||
#define UNIMPLEMENTED LdrPrint(L"Called unimplemented routine '%s()' at %s:%d\n", \
|
||||
__FUNCTION__, __FILE__, __LINE__);
|
||||
|
||||
/* XTOS platform debugging macros */
|
||||
#ifdef DBG
|
||||
#define DEBUG 1
|
||||
|
Loading…
Reference in New Issue
Block a user