2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/kdbg/kdb.c
5 * PURPOSE: Kernel Debugger
7 * PROGRAMMERS: Gregor Anich
10 /* INCLUDES ******************************************************************/
14 #include <internal/debug.h>
16 /* GLOBALS *******************************************************************/
18 ULONG KdbDebugState
= 0; /* KDBG Settings (NOECHO, KDSERIAL) */
20 /* FUNCTIONS *****************************************************************/
24 KdbpGetCommandLineSettings(PCHAR p1
)
28 while (p1
&& (p2
= strchr(p1
, ' ')))
32 if (!_strnicmp(p2
, "KDSERIAL", 8))
35 KdbDebugState
|= KD_DEBUG_KDSERIAL
;
36 KdpDebugMode
.Serial
= TRUE
;
38 else if (!_strnicmp(p2
, "KDNOECHO", 8))
41 KdbDebugState
|= KD_DEBUG_KDNOECHO
;