Commit in reactos/ntoskrnl on MAIN
dbg/kdb.c+4-21.17 -> 1.18
include/internal/kd.h+2-11.22 -> 1.23
kd/kdebug.c+7-11.50 -> 1.51
+13-4
3 modified files
added /KDNOECHO parameter to disable serial echo by default in kdgb

reactos/ntoskrnl/dbg
kdb.c 1.17 -> 1.18
diff -u -r1.17 -r1.18
--- kdb.c	17 Jan 2004 17:13:13 -0000	1.17
+++ kdb.c	24 Feb 2004 21:25:40 -0000	1.18
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: kdb.c,v 1.17 2004/01/17 17:13:13 arty Exp $
+/* $Id: kdb.c,v 1.18 2004/02/24 21:25:40 weiden Exp $
  *
  * PROJECT:         ReactOS kernel
  * FILE:            ntoskrnl/dbg/kdb.c
@@ -206,7 +206,9 @@
 {
   CHAR Key;
   PCH Orig = Buffer;
-
+  
+  KbdEchoOn = !((KdDebugState & KD_DEBUG_KDNOECHO) != 0);
+  
   for (;;)
     {
       if (KdDebugState & KD_DEBUG_KDSERIAL)

reactos/ntoskrnl/include/internal
kd.h 1.22 -> 1.23
diff -u -r1.22 -r1.23
--- kd.h	17 Jan 2004 17:13:13 -0000	1.22
+++ kd.h	24 Feb 2004 21:25:41 -0000	1.23
@@ -1,4 +1,4 @@
-/* $Id: kd.h,v 1.22 2004/01/17 17:13:13 arty Exp $
+/* $Id: kd.h,v 1.23 2004/02/24 21:25:41 weiden Exp $
  *
  * kernel debugger prototypes
  */
@@ -19,6 +19,7 @@
 #define KD_DEBUG_MDA            0x40
 #define KD_DEBUG_KDB            0x80
 #define KD_DEBUG_KDSERIAL       0x100
+#define KD_DEBUG_KDNOECHO       0x200
 
 extern ULONG KdDebugState;
 

reactos/ntoskrnl/kd
kdebug.c 1.50 -> 1.51
diff -u -r1.50 -r1.51
--- kdebug.c	5 Jan 2004 14:28:20 -0000	1.50
+++ kdebug.c	24 Feb 2004 21:25:41 -0000	1.51
@@ -1,4 +1,4 @@
-/* $Id: kdebug.c,v 1.50 2004/01/05 14:28:20 weiden Exp $
+/* $Id: kdebug.c,v 1.51 2004/02/24 21:25:41 weiden Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -160,6 +160,12 @@
 	  KdDebuggerEnabled = TRUE;
 	  KdDebugState |= KD_DEBUG_SERIAL | KD_DEBUG_KDSERIAL;
         }
+      else if (!_strnicmp(p2, "KDNOECHO", 8))
+        {
+	  p2 += 8;
+	  KdDebuggerEnabled = TRUE;
+	  KdDebugState |= KD_DEBUG_KDNOECHO;
+        }
       else if (!_strnicmp(p2, "DEBUG", 5))
 	{
 	  p2 += 5;
CVSspam 0.2.8