File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -332,8 +332,40 @@ NtSystemDebugControl(
332332 break ;
333333
334334 case SysDbgSetPrintBufferSize :
335+ UNIMPLEMENTED ;
336+ Status = STATUS_NOT_IMPLEMENTED ;
337+ break ;
338+
335339 case SysDbgGetKdUmExceptionEnable :
340+ if (OutputBufferLength != sizeof (BOOLEAN ))
341+ {
342+ Status = STATUS_INFO_LENGTH_MISMATCH ;
343+ }
344+ else
345+ {
346+ /* Unfortunately, the internal flag says if UM exceptions are disabled */
347+ * (PBOOLEAN )OutputBuffer = !KdIgnoreUmExceptions ;
348+ Status = STATUS_SUCCESS ;
349+ }
350+ break ;
351+
336352 case SysDbgSetKdUmExceptionEnable :
353+ if (InputBufferLength != sizeof (BOOLEAN ))
354+ {
355+ Status = STATUS_INFO_LENGTH_MISMATCH ;
356+ }
357+ else if (KdPitchDebugger )
358+ {
359+ Status = STATUS_ACCESS_DENIED ;
360+ }
361+ else
362+ {
363+ /* Unfortunately, the internal flag says if UM exceptions are disabled */
364+ KdIgnoreUmExceptions = !* (PBOOLEAN )InputBuffer ;
365+ Status = STATUS_SUCCESS ;
366+ }
367+ break ;
368+
337369 case SysDbgGetTriageDump :
338370 case SysDbgGetKdBlockEnable :
339371 case SysDbgSetKdBlockEnable :
You can’t perform that action at this time.
0 commit comments