mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[NTOS:EX] Implement NtSystemDebugControl: SysDbgGetKdBlockEnable/SysDbgSetKdBlockEnable
This commit is contained in:
parent
d4546753f6
commit
6b89a0da11
1 changed files with 21 additions and 2 deletions
|
@ -367,12 +367,31 @@ NtSystemDebugControl(
|
|||
break;
|
||||
|
||||
case SysDbgGetTriageDump:
|
||||
case SysDbgGetKdBlockEnable:
|
||||
case SysDbgSetKdBlockEnable:
|
||||
UNIMPLEMENTED;
|
||||
Status = STATUS_NOT_IMPLEMENTED;
|
||||
break;
|
||||
|
||||
case SysDbgGetKdBlockEnable:
|
||||
if (OutputBufferLength != sizeof(BOOLEAN))
|
||||
{
|
||||
Status = STATUS_INFO_LENGTH_MISMATCH;
|
||||
}
|
||||
else
|
||||
{
|
||||
*(PBOOLEAN)OutputBuffer = KdBlockEnable;
|
||||
Status = STATUS_SUCCESS;
|
||||
}
|
||||
break;
|
||||
|
||||
case SysDbgSetKdBlockEnable:
|
||||
Status = KdChangeOption(KD_OPTION_SET_BLOCK_ENABLE,
|
||||
InputBufferLength,
|
||||
InputBuffer,
|
||||
OutputBufferLength,
|
||||
OutputBuffer,
|
||||
&Length);
|
||||
break;
|
||||
|
||||
default:
|
||||
Status = STATUS_INVALID_INFO_CLASS;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue