Files
exectos/xtoskrnl/includes/kd/dbg.hh
Aiken Harris e0844b38cd
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 27s
Builds / ExectOS (amd64, release) (push) Successful in 26s
Builds / ExectOS (i686, release) (push) Successful in 27s
Builds / ExectOS (i686, debug) (push) Successful in 29s
Move dbg.hh into KD namespace
2025-09-14 01:40:21 +02:00

24 lines
640 B
C++

/**
* 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 */