Refine and export kernel debugger printing

このコミットが含まれているのは:
2025-09-14 01:25:56 +02:00
コミット f321ca908b
12個のファイルの変更143行の追加19行の削除

23
sdk/xtdk/kdfuncs.h ノーマルファイル
ファイルの表示

@@ -0,0 +1,23 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: sdk/xtdk/kdfuncs.h
* DESCRIPTION: XTOS kernel debugger routine definitions
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#ifndef __XTDK_KDFUNCS_H
#define __XTDK_KDFUNCS_H
#include <xtdefs.h>
#include <xttypes.h>
/* Kernel debugger routines forward references */
XTCLINK
XTCDECL
VOID
DbgPrint(PCWSTR Format,
...);
#endif /* __XTDK_KDFUNCS_H */

ファイルの表示

@@ -20,7 +20,7 @@
/* XTOS platform debugging macros */
#ifdef DBG
#define DEBUG 1
#define DebugPrint(Format, ...) if(KdPrint) KdPrint(Format, __VA_ARGS__);
#define DebugPrint(Format, ...) DbgPrint(Format, __VA_ARGS__);
#else
#define DEBUG 0
#define DebugPrint(Format, ...) ((VOID)NULL)

ファイルの表示

@@ -48,6 +48,7 @@
/* XT routines */
#include <exfuncs.h>
#include <hlfuncs.h>
#include <kdfuncs.h>
#include <kefuncs.h>
#include <rtlfuncs.h>