mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:05:52 +00:00
- Fix DBG=KDBG=0 build
svn path=/trunk/; revision=28257
This commit is contained in:
parent
a21d95da1f
commit
79d430fe4a
3 changed files with 38 additions and 6 deletions
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
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
KdbDebugPrint(PCH Message, ULONG Length)
|
KdbDebugPrint(PCH Message, ULONG Length)
|
||||||
{
|
{
|
||||||
|
/* Nothing here */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*! \brief Initializes the KDB symbols implementation.
|
/*! \brief Initializes the KDB symbols implementation.
|
||||||
*
|
*
|
||||||
* \param NtoskrnlModuleObject LDR_DATA_TABLE_ENTRY of ntoskrnl.exe
|
* \param DispatchTable Pointer to the KD dispatch table
|
||||||
* \param LdrHalModuleObject LDR_DATA_TABLE_ENTRY of hal.sys
|
* \param BootPhase Phase of initialization
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
KdpKdbgInit(PKD_DISPATCH_TABLE DispatchTable,
|
KdbInitialize(PKD_DISPATCH_TABLE DispatchTable,
|
||||||
ULONG BootPhase)
|
ULONG BootPhase)
|
||||||
{
|
{
|
||||||
PCHAR p1, p2;
|
PCHAR p1, p2;
|
||||||
|
|
|
@ -255,6 +255,7 @@
|
||||||
<directory name="wrappers">
|
<directory name="wrappers">
|
||||||
<file>bochs.c</file>
|
<file>bochs.c</file>
|
||||||
<file>gdbstub.c</file>
|
<file>gdbstub.c</file>
|
||||||
|
<file>kdbg.c</file>
|
||||||
</directory>
|
</directory>
|
||||||
<file>kdinit.c</file>
|
<file>kdinit.c</file>
|
||||||
<file>kdio.c</file>
|
<file>kdio.c</file>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue