Refine and export kernel debugger printing
This commit is contained in:
23
sdk/xtdk/kdfuncs.h
Normal file
23
sdk/xtdk/kdfuncs.h
Normal file
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user