mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:42:59 +00:00
[NTOS:EX] Implement NtSystemDebugControl
svn path=/trunk/; revision=66037
This commit is contained in:
parent
c788f45783
commit
e7888466bb
1 changed files with 43 additions and 2 deletions
|
@ -60,6 +60,47 @@ NtSystemDebugControl(SYSDBG_COMMAND ControlCode,
|
||||||
ULONG OutputBufferLength,
|
ULONG OutputBufferLength,
|
||||||
PULONG ReturnLength)
|
PULONG ReturnLength)
|
||||||
{
|
{
|
||||||
/* FIXME: TODO */
|
switch (ControlCode)
|
||||||
return STATUS_SUCCESS;
|
{
|
||||||
|
case SysDbgQueryModuleInformation:
|
||||||
|
case SysDbgQueryTraceInformation:
|
||||||
|
case SysDbgSetTracepoint:
|
||||||
|
case SysDbgSetSpecialCall:
|
||||||
|
case SysDbgClearSpecialCalls:
|
||||||
|
case SysDbgQuerySpecialCalls:
|
||||||
|
case SysDbgQueryVersion:
|
||||||
|
case SysDbgReadVirtual:
|
||||||
|
case SysDbgWriteVirtual:
|
||||||
|
case SysDbgReadPhysical:
|
||||||
|
case SysDbgWritePhysical:
|
||||||
|
case SysDbgReadControlSpace:
|
||||||
|
case SysDbgWriteControlSpace:
|
||||||
|
case SysDbgReadIoSpace:
|
||||||
|
case SysDbgWriteIoSpace:
|
||||||
|
case SysDbgReadMsr:
|
||||||
|
case SysDbgWriteMsr:
|
||||||
|
case SysDbgReadBusData:
|
||||||
|
case SysDbgWriteBusData:
|
||||||
|
case SysDbgCheckLowMemory:
|
||||||
|
case SysDbgGetTriageDump:
|
||||||
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
|
case SysDbgBreakPoint:
|
||||||
|
case SysDbgEnableKernelDebugger:
|
||||||
|
case SysDbgDisableKernelDebugger:
|
||||||
|
case SysDbgGetAutoKdEnable:
|
||||||
|
case SysDbgSetAutoKdEnable:
|
||||||
|
case SysDbgGetPrintBufferSize:
|
||||||
|
case SysDbgSetPrintBufferSize:
|
||||||
|
case SysDbgGetKdUmExceptionEnable:
|
||||||
|
case SysDbgSetKdUmExceptionEnable:
|
||||||
|
case SysDbgGetKdBlockEnable:
|
||||||
|
case SysDbgSetKdBlockEnable:
|
||||||
|
return KdSystemDebugControl(
|
||||||
|
ControlCode,
|
||||||
|
InputBuffer, InputBufferLength,
|
||||||
|
OutputBuffer, OutputBufferLength,
|
||||||
|
ReturnLength, KeGetPreviousMode());
|
||||||
|
default:
|
||||||
|
return STATUS_INVALID_INFO_CLASS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue