Reorganize early debug printing; initialize kernel stacks when needed

This commit is contained in:
2022-12-28 23:11:35 +01:00
förälder 75ac59f48a
incheckning dec021b1ec
9 ändrade filer med 110 tillägg och 9 borttagningar

20
sdk/xtdk/xtdebug.h Normal file
Visa fil

@@ -0,0 +1,20 @@
/**
* 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 */