Move dbg.hh into KD namespace
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

This commit is contained in:
2025-09-14 01:40:21 +02:00
parent f321ca908b
commit e0844b38cd
3 changed files with 5 additions and 5 deletions

View File

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