mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 19:41:40 +00:00
KD Stubs Added.
svn path=/trunk/; revision=9823
This commit is contained in:
parent
be03c322b3
commit
657b2275c7
1 changed files with 64 additions and 2 deletions
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -15,6 +15,7 @@
|
||||||
#include <internal/mm.h>
|
#include <internal/mm.h>
|
||||||
#include <roscfg.h>
|
#include <roscfg.h>
|
||||||
#include "../dbg/kdb.h"
|
#include "../dbg/kdb.h"
|
||||||
|
#include <internal/debug.h>
|
||||||
|
|
||||||
/* serial debug connection */
|
/* serial debug connection */
|
||||||
#define DEFAULT_DEBUG_PORT 2 /* COM2 */
|
#define DEFAULT_DEBUG_PORT 2 /* COM2 */
|
||||||
|
@ -31,10 +32,22 @@ BOOLEAN
|
||||||
__declspec(dllexport)
|
__declspec(dllexport)
|
||||||
KdDebuggerEnabled = FALSE; /* EXPORTED */
|
KdDebuggerEnabled = FALSE; /* EXPORTED */
|
||||||
|
|
||||||
|
BOOLEAN
|
||||||
|
__declspec(dllexport)
|
||||||
|
KdEnteredDebugger = FALSE; /* EXPORTED */
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
__declspec(dllexport)
|
__declspec(dllexport)
|
||||||
KdDebuggerNotPresent = TRUE; /* EXPORTED */
|
KdDebuggerNotPresent = TRUE; /* EXPORTED */
|
||||||
|
|
||||||
|
ULONG
|
||||||
|
__declspec(dllexport)
|
||||||
|
KiBugCheckData; /* EXPORTED */
|
||||||
|
|
||||||
|
BOOLEAN
|
||||||
|
__declspec(dllexport)
|
||||||
|
KiEnableTimerWatchdog = FALSE; /* EXPORTED */
|
||||||
|
|
||||||
|
|
||||||
static BOOLEAN KdpBreakPending = FALSE;
|
static BOOLEAN KdpBreakPending = FALSE;
|
||||||
ULONG KdDebugState = KD_DEBUG_DISABLED;
|
ULONG KdDebugState = KD_DEBUG_DISABLED;
|
||||||
|
@ -372,6 +385,43 @@ KdpPrintString(PANSI_STRING String)
|
||||||
|
|
||||||
/* NTOSKRNL.KdPollBreakIn */
|
/* NTOSKRNL.KdPollBreakIn */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
|
VOID
|
||||||
|
STDCALL
|
||||||
|
KdDisableDebugger(
|
||||||
|
VOID
|
||||||
|
)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
|
VOID
|
||||||
|
STDCALL
|
||||||
|
KdEnableDebugger (
|
||||||
|
VOID
|
||||||
|
)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
|
BOOLEAN
|
||||||
|
STDCALL
|
||||||
|
KeIsAttachedProcess(
|
||||||
|
VOID
|
||||||
|
)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @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 */
|
/* Support routines for the GDB stubs */
|
||||||
|
|
||||||
|
@ -492,4 +554,4 @@ KdGetChar(VOID)
|
||||||
return Value;
|
return Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue