ReactOS 0.4.16-dev-737-g3368adc
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Functions | |
VOID NTAPI | ExpDebuggerWorker (_In_ PVOID Context) |
NTSTATUS NTAPI | NtSystemDebugControl (_In_ SYSDBG_COMMAND Command, _In_reads_bytes_(InputBufferLength) PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_writes_bytes_(OutputBufferLength) PVOID OutputBuffer, _In_ ULONG OutputBufferLength, _Out_opt_ PULONG ReturnLength) |
Perform various queries to the kernel debugger. | |
Variables | |
WORK_QUEUE_ITEM | ExpDebuggerWorkItem |
WINKD_WORKER_STATE | ExpDebuggerWork |
PEPROCESS | ExpDebuggerProcessAttach |
PEPROCESS | ExpDebuggerProcessKill |
ULONG_PTR | ExpDebuggerPageIn |
Definition at line 52 of file dbgctrl.c.
Referenced by ExpWorkerThreadBalanceManager().
NTSTATUS NTAPI NtSystemDebugControl | ( | _In_ SYSDBG_COMMAND | Command, |
_In_reads_bytes_(InputBufferLength) PVOID | InputBuffer, | ||
_In_ ULONG | InputBufferLength, | ||
_Out_writes_bytes_(OutputBufferLength) PVOID | OutputBuffer, | ||
_In_ ULONG | OutputBufferLength, | ||
_Out_opt_ PULONG | ReturnLength | ||
) |
Perform various queries to the kernel debugger.
[in] | Command | A SYSDBG_COMMAND value describing the kernel debugger command to perform. |
[in] | InputBuffer | Pointer to a user-provided input command-specific buffer, whose length is given by InputBufferLength. |
[in] | InputBufferLength | The size (in bytes) of the buffer pointed by InputBuffer. |
[out] | OutputBuffer | Pointer to a user-provided command-specific output buffer, whose length is given by OutputBufferLength. |
[in] | OutputBufferLength | The size (in bytes) of the buffer pointed by OutputBuffer. |
[out] | ReturnLength | Optional pointer to a ULONG variable that receives the actual length of data written written in the output buffer. It is always zero, except for the live dump commands where an actual non-zero length is returned. |
The following system-critical commands are not accessible anymore for user-mode usage with this API on NT 5.2+ (Windows 2003 SP1 and later) systems:
SysDbgQueryVersion, SysDbgReadVirtual and SysDbgWriteVirtual, SysDbgReadPhysical and SysDbgWritePhysical, SysDbgReadControlSpace and SysDbgWriteControlSpace, SysDbgReadIoSpace and SysDbgWriteIoSpace, SysDbgReadMsr and SysDbgWriteMsr, SysDbgReadBusData and SysDbgWriteBusData, SysDbgCheckLowMemory.
For these, NtSystemDebugControl() will return STATUS_NOT_IMPLEMENTED. They are now available from kernel-mode only with KdSystemDebugControl().
Definition at line 209 of file dbgctrl.c.
Referenced by TestSystemDebugControl().
ULONG_PTR ExpDebuggerPageIn |
Definition at line 28 of file dbgctrl.c.
Referenced by ExpDebuggerWorker().
PEPROCESS ExpDebuggerProcessAttach |
Definition at line 26 of file dbgctrl.c.
Referenced by ExpDebuggerWorker().
PEPROCESS ExpDebuggerProcessKill |
Definition at line 27 of file dbgctrl.c.
Referenced by ExpDebuggerWorker().
WINKD_WORKER_STATE ExpDebuggerWork |
Definition at line 25 of file dbgctrl.c.
Referenced by ExpDebuggerWorker(), and ExpWorkerThreadBalanceManager().
WORK_QUEUE_ITEM ExpDebuggerWorkItem |
Definition at line 20 of file dbgctrl.c.
Referenced by ExpWorkerThreadBalanceManager().