https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8a62f277d8840e487b01a67ccdcf09ea4242d4fd

commit 8a62f277d8840e487b01a67ccdcf09ea4242d4fd
Author:     Hervé Poussineau <[email protected]>
AuthorDate: Tue Mar 10 00:10:08 2020 +0100
Commit:     Hervé Poussineau <[email protected]>
CommitDate: Mon Nov 16 08:55:03 2020 +0100

    [NTOS:KD] Remove useless implementation of BREAKPOINT_PRINT in 
KdSystemDebugControl
    
    This is (as expected) handled in KdpTrap(), which also calls KdpPrint().
---
 ntoskrnl/kd64/kdapi.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/ntoskrnl/kd64/kdapi.c b/ntoskrnl/kd64/kdapi.c
index 9d4a96631f4..f2c07de2f21 100644
--- a/ntoskrnl/kd64/kdapi.c
+++ b/ntoskrnl/kd64/kdapi.c
@@ -2167,21 +2167,6 @@ KdSystemDebugControl(
     /* Handle some internal commands */
     switch ((ULONG)Command)
     {
-#ifndef _WINKD_
-        case BREAKPOINT_PRINT: /* DbgPrint */
-        {
-            /* Call KDBG */
-            BOOLEAN Handled;
-            return KdpPrint(MAXULONG,
-                            DPFLTR_INFO_LEVEL,
-                            (PCHAR)InputBuffer,
-                            (USHORT)InputBufferLength,
-                            PreviousMode,
-                            NULL, // TrapFrame,
-                            NULL, // ExceptionFrame,
-                            &Handled);
-        }
-#endif
 #if DBG
         case ' soR': /* ROS-INTERNAL */
         {

Reply via email to