mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 05:54:05 +00:00
- Fix DBG=KDBG=0 build
svn path=/trunk/; revision=28257
This commit is contained in:
parent
a21d95da1f
commit
79d430fe4a
30
reactos/ntoskrnl/kd/wrappers/kdbg.c
Normal file
30
reactos/ntoskrnl/kd/wrappers/kdbg.c
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/kd/wrappers/bochs.c
|
||||
* PURPOSE: KDBG Wrapper for Kd
|
||||
*
|
||||
* PROGRAMMERS: Aleksey Bragin (aleksey@reactos.org)
|
||||
*/
|
||||
|
||||
#include <ntoskrnl.h>
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
VOID NTAPI
|
||||
KdbInitialize(PKD_DISPATCH_TABLE DispatchTable, ULONG BootPhase);
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
KdpKdbgInit(PKD_DISPATCH_TABLE DispatchTable,
|
||||
ULONG BootPhase)
|
||||
{
|
||||
#ifdef KDBG
|
||||
/* Forward the call */
|
||||
KdbInitialize(DispatchTable, BootPhase);
|
||||
#else
|
||||
/* When KDBG is disabled, it is not used/initialized at all */
|
||||
#endif
|
||||
}
|
|
@ -671,20 +671,21 @@ KdbSymProcessBootSymbols(IN PANSI_STRING AnsiFileName)
|
|||
}
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
NTAPI
|
||||
KdbDebugPrint(PCH Message, ULONG Length)
|
||||
{
|
||||
/* Nothing here */
|
||||
}
|
||||
|
||||
|
||||
/*! \brief Initializes the KDB symbols implementation.
|
||||
*
|
||||
* \param NtoskrnlModuleObject LDR_DATA_TABLE_ENTRY of ntoskrnl.exe
|
||||
* \param LdrHalModuleObject LDR_DATA_TABLE_ENTRY of hal.sys
|
||||
* \param DispatchTable Pointer to the KD dispatch table
|
||||
* \param BootPhase Phase of initialization
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
KdpKdbgInit(PKD_DISPATCH_TABLE DispatchTable,
|
||||
NTAPI
|
||||
KdbInitialize(PKD_DISPATCH_TABLE DispatchTable,
|
||||
ULONG BootPhase)
|
||||
{
|
||||
PCHAR p1, p2;
|
||||
|
|
|
@ -255,6 +255,7 @@
|
|||
<directory name="wrappers">
|
||||
<file>bochs.c</file>
|
||||
<file>gdbstub.c</file>
|
||||
<file>kdbg.c</file>
|
||||
</directory>
|
||||
<file>kdinit.c</file>
|
||||
<file>kdio.c</file>
|
||||
|
|
Loading…
Reference in a new issue