mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
[NTOS:KD] Implement empty versions of KdDebuggerInitialize0/KdSendPacket/KdReceivePacket
Move KdDebuggerInitialize1 to common code. Add #defines to local names to prevent clashes with kdcom.dll
This commit is contained in:
parent
b18529de28
commit
453edbb5da
5 changed files with 47 additions and 15 deletions
|
@ -82,6 +82,12 @@
|
||||||
#define NOEXTAPI
|
#define NOEXTAPI
|
||||||
#include <windbgkd.h>
|
#include <windbgkd.h>
|
||||||
#include <wdbgexts.h>
|
#include <wdbgexts.h>
|
||||||
|
#ifdef KDBG
|
||||||
|
#define KdDebuggerInitialize0 KdpDebuggerInitialize0
|
||||||
|
#define KdDebuggerInitialize1 KdpDebuggerInitialize1
|
||||||
|
#define KdSendPacket KdpSendPacket
|
||||||
|
#define KdReceivePacket KdpReceivePacket
|
||||||
|
#endif
|
||||||
#include <kddll.h>
|
#include <kddll.h>
|
||||||
#ifdef __ROS_ROSSYM__
|
#ifdef __ROS_ROSSYM__
|
||||||
#include <reactos/rossym.h>
|
#include <reactos/rossym.h>
|
||||||
|
|
|
@ -25,13 +25,6 @@ CPPORT DefaultPort = {0, 0, 0};
|
||||||
|
|
||||||
/* REACTOS FUNCTIONS **********************************************************/
|
/* REACTOS FUNCTIONS **********************************************************/
|
||||||
|
|
||||||
NTSTATUS
|
|
||||||
NTAPI
|
|
||||||
KdDebuggerInitialize1(IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
|
|
||||||
{
|
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
KdPortInitializeEx(IN PCPPORT PortInformation,
|
KdPortInitializeEx(IN PCPPORT PortInformation,
|
||||||
|
|
|
@ -46,14 +46,6 @@ const ULONG BaseArray[] = {0, 0xF1012000};
|
||||||
|
|
||||||
/* REACTOS FUNCTIONS **********************************************************/
|
/* REACTOS FUNCTIONS **********************************************************/
|
||||||
|
|
||||||
NTSTATUS
|
|
||||||
NTAPI
|
|
||||||
KdDebuggerInitialize1(
|
|
||||||
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
|
|
||||||
{
|
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
KdPortInitializeEx(
|
KdPortInitializeEx(
|
||||||
|
|
|
@ -728,4 +728,29 @@ KdpPromptString(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VOID
|
||||||
|
NTAPI
|
||||||
|
KdSendPacket(
|
||||||
|
IN ULONG PacketType,
|
||||||
|
IN PSTRING MessageHeader,
|
||||||
|
IN PSTRING MessageData,
|
||||||
|
IN OUT PKD_CONTEXT Context)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
KDSTATUS
|
||||||
|
NTAPI
|
||||||
|
KdReceivePacket(
|
||||||
|
IN ULONG PacketType,
|
||||||
|
OUT PSTRING MessageHeader,
|
||||||
|
OUT PSTRING MessageData,
|
||||||
|
OUT PULONG DataLength,
|
||||||
|
IN OUT PKD_CONTEXT Context)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
|
@ -440,4 +440,20 @@ KdSystemDebugControl(IN SYSDBG_COMMAND Command,
|
||||||
|
|
||||||
PKDEBUG_ROUTINE KiDebugRoutine = KdpEnterDebuggerException;
|
PKDEBUG_ROUTINE KiDebugRoutine = KdpEnterDebuggerException;
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
|
KdDebuggerInitialize0(
|
||||||
|
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
|
||||||
|
{
|
||||||
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
|
KdDebuggerInitialize1(
|
||||||
|
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
|
||||||
|
{
|
||||||
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue