From 657b2275c714891df7c3d97ef47cee050fff95e3 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Wed, 23 Jun 2004 00:49:43 +0000 Subject: [PATCH] KD Stubs Added. svn path=/trunk/; revision=9823 --- reactos/ntoskrnl/kd/kdebug.c | 66 ++++++++++++++++++++++++++++++++++-- 1 file changed, 64 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/kd/kdebug.c b/reactos/ntoskrnl/kd/kdebug.c index 67cd35774ef..14affa237e8 100644 --- a/reactos/ntoskrnl/kd/kdebug.c +++ b/reactos/ntoskrnl/kd/kdebug.c @@ -1,4 +1,4 @@ -/* $Id: kdebug.c,v 1.51 2004/02/24 21:25:41 weiden Exp $ +/* $Id: kdebug.c,v 1.52 2004/06/23 00:49:43 ion Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -15,6 +15,7 @@ #include #include #include "../dbg/kdb.h" +#include /* serial debug connection */ #define DEFAULT_DEBUG_PORT 2 /* COM2 */ @@ -31,11 +32,23 @@ BOOLEAN __declspec(dllexport) KdDebuggerEnabled = FALSE; /* EXPORTED */ +BOOLEAN +__declspec(dllexport) +KdEnteredDebugger = FALSE; /* EXPORTED */ + BOOLEAN __declspec(dllexport) KdDebuggerNotPresent = TRUE; /* EXPORTED */ +ULONG +__declspec(dllexport) +KiBugCheckData; /* EXPORTED */ +BOOLEAN +__declspec(dllexport) +KiEnableTimerWatchdog = FALSE; /* EXPORTED */ + + static BOOLEAN KdpBreakPending = FALSE; ULONG KdDebugState = KD_DEBUG_DISABLED; ULONG KdpPortIrq = 0; @@ -372,6 +385,43 @@ KdpPrintString(PANSI_STRING String) /* NTOSKRNL.KdPollBreakIn */ +/* + * @unimplemented + */ +VOID +STDCALL +KdDisableDebugger( + VOID + ) +{ + UNIMPLEMENTED; +} + +/* + * @unimplemented + */ +VOID +STDCALL +KdEnableDebugger ( + VOID + ) +{ + UNIMPLEMENTED; +} + +/* + * @unimplemented + */ +BOOLEAN +STDCALL +KeIsAttachedProcess( + VOID + ) +{ + UNIMPLEMENTED; + return FALSE; +} + /* * @implemented */ @@ -472,6 +522,18 @@ KdSystemDebugControl(ULONG Code) } } +/* + * @unimplemented + */ +NTSTATUS +STDCALL +KdPowerTransition( + ULONG PowerState + ) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} /* Support routines for the GDB stubs */ @@ -492,4 +554,4 @@ KdGetChar(VOID) return Value; } -/* EOF */ + /* EOF */