exectos/sdk/xtdk/xtdebug.h
belliash dec021b1ec
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Reorganize early debug printing; initialize kernel stacks when needed
2022-12-28 23:11:35 +01:00

21 lines
526 B
C

/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: sdk/xtdk/xtdebug.h
* DESCRIPTION: XT debugging support
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#ifndef __XTDK_XTDEBUG_H
#define __XTDK_XTDEBUG_H
/* XTOS platform debugging macros */
#ifdef DBG
#define LDRPRINT(Format, ...) if(LdrPrint) LdrPrint(Format, __VA_ARGS__);
#else
#define LDRPRINT(Format, ...) ((VOID)NULL)
#endif
#endif /* __XTDK_XTDEBUG_H */