1
0
bifurqué depuis xt-sys/exectos

Move dbg.hh into KD namespace

Cette révision appartient à :
2025-09-14 01:40:21 +02:00
Parent f321ca908b
révision e0844b38cd
3 fichiers modifiés avec 5 ajouts et 5 suppressions

23
xtoskrnl/includes/kd/dbg.hh Fichier normal
Voir le fichier

@@ -0,0 +1,23 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/includes/kd/dbg.hh
* DESCRIPTION: Kernel debugging support
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#ifndef __XTOSKRNL_KD_DBG_HH
#define __XTOSKRNL_KD_DBG_HH
#include <xtos.hh>
/* Redefine DebugPrint macro for the kernel to enable early debugging */
#undef DebugPrint
#ifdef DBG
#define DebugPrint(Format, ...) if(KD::DebugIo::KdPrint) KD::DebugIo::KdPrint(Format, __VA_ARGS__);
#else
#define DebugPrint(Format, ...) ((VOID)NULL)
#endif
#endif /* __XTOSKRNL_KD_DBG_HH */