mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Renamed /DEBUGPORT=FILELOG to
/DEBUGPORT=BOOTLOG to be compatbile with Windows. svn path=/trunk/; revision=10409
This commit is contained in:
parent
312d818b93
commit
592b1ab19b
4 changed files with 13 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: kd.h,v 1.25 2004/06/23 00:49:22 ion Exp $
|
/* $Id: kd.h,v 1.26 2004/08/07 03:41:30 sedwards Exp $
|
||||||
*
|
*
|
||||||
* kernel debugger prototypes
|
* kernel debugger prototypes
|
||||||
*/
|
*/
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
#define KD_DEBUG_SCREEN 0x04
|
#define KD_DEBUG_SCREEN 0x04
|
||||||
#define KD_DEBUG_SERIAL 0x08
|
#define KD_DEBUG_SERIAL 0x08
|
||||||
#define KD_DEBUG_BOCHS 0x10
|
#define KD_DEBUG_BOCHS 0x10
|
||||||
#define KD_DEBUG_FILELOG 0x20
|
#define KD_DEBUG_BOOTLOG 0x20
|
||||||
#define KD_DEBUG_MDA 0x40
|
#define KD_DEBUG_MDA 0x40
|
||||||
#define KD_DEBUG_KDB 0x80
|
#define KD_DEBUG_KDB 0x80
|
||||||
#define KD_DEBUG_KDSERIAL 0x100
|
#define KD_DEBUG_KDSERIAL 0x100
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: dlog.c,v 1.13 2004/03/11 21:50:23 dwelch Exp $
|
/* $Id: dlog.c,v 1.14 2004/08/07 03:41:31 sedwards Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -42,11 +42,11 @@ DebugLogDumpMessages(VOID)
|
||||||
ULONG Offset;
|
ULONG Offset;
|
||||||
ULONG Length;
|
ULONG Length;
|
||||||
|
|
||||||
if (!(KdDebugState & KD_DEBUG_FILELOG))
|
if (!(KdDebugState & KD_DEBUG_BOOTLOG))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
KdDebugState &= ~KD_DEBUG_FILELOG;
|
KdDebugState &= ~KD_DEBUG_BOOTLOG;
|
||||||
|
|
||||||
Offset = (DebugLogEnd + 1) % DEBUGLOG_SIZE;
|
Offset = (DebugLogEnd + 1) % DEBUGLOG_SIZE;
|
||||||
do
|
do
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: kdebug.c,v 1.53 2004/08/01 21:57:35 navaraf Exp $
|
/* $Id: kdebug.c,v 1.54 2004/08/07 03:41:31 sedwards Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -153,11 +153,11 @@ KdInitSystem(ULONG Reserved,
|
||||||
LogPortInfo.ComPort = Value;
|
LogPortInfo.ComPort = Value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!_strnicmp(p2, "FILE", 4))
|
else if (!_strnicmp(p2, "BOOTLOG", 4))
|
||||||
{
|
{
|
||||||
p2 += 4;
|
p2 += 4;
|
||||||
KdDebuggerEnabled = TRUE;
|
KdDebuggerEnabled = TRUE;
|
||||||
KdDebugState |= KD_DEBUG_FILELOG;
|
KdDebugState |= KD_DEBUG_BOOTLOG;
|
||||||
}
|
}
|
||||||
else if (!_strnicmp(p2, "MDA", 3))
|
else if (!_strnicmp(p2, "MDA", 3))
|
||||||
{
|
{
|
||||||
|
@ -259,7 +259,7 @@ KdInitSystem(ULONG Reserved,
|
||||||
if (KdDebugState & KD_DEBUG_SERIAL)
|
if (KdDebugState & KD_DEBUG_SERIAL)
|
||||||
KdPortInitializeEx(&LogPortInfo, 0, 0);
|
KdPortInitializeEx(&LogPortInfo, 0, 0);
|
||||||
|
|
||||||
if (KdDebugState & KD_DEBUG_FILELOG)
|
if (KdDebugState & KD_DEBUG_BOOTLOG)
|
||||||
DebugLogInit();
|
DebugLogInit();
|
||||||
|
|
||||||
if (KdDebugState & KD_DEBUG_MDA)
|
if (KdDebugState & KD_DEBUG_MDA)
|
||||||
|
@ -315,7 +315,7 @@ KdInit3(VOID)
|
||||||
PrintString("\n Serial debugging enabled. COM%ld %ld Baud\n\n",
|
PrintString("\n Serial debugging enabled. COM%ld %ld Baud\n\n",
|
||||||
LogPortInfo.ComPort, LogPortInfo.BaudRate);
|
LogPortInfo.ComPort, LogPortInfo.BaudRate);
|
||||||
|
|
||||||
if (KdDebugState & KD_DEBUG_FILELOG)
|
if (KdDebugState & KD_DEBUG_BOOTLOG)
|
||||||
PrintString("\n File log debugging enabled\n\n");
|
PrintString("\n File log debugging enabled\n\n");
|
||||||
if (KdDebugState & KD_DEBUG_MDA)
|
if (KdDebugState & KD_DEBUG_MDA)
|
||||||
PrintString("\n MDA debugging enabled\n\n");
|
PrintString("\n MDA debugging enabled\n\n");
|
||||||
|
@ -372,7 +372,7 @@ KdpPrintString(PANSI_STRING String)
|
||||||
if (KdDebugState & KD_DEBUG_BOCHS)
|
if (KdDebugState & KD_DEBUG_BOCHS)
|
||||||
KdBochsDebugPrint(pch);
|
KdBochsDebugPrint(pch);
|
||||||
|
|
||||||
if (KdDebugState & KD_DEBUG_FILELOG)
|
if (KdDebugState & KD_DEBUG_BOOTLOG)
|
||||||
DebugLogWrite(pch);
|
DebugLogWrite(pch);
|
||||||
|
|
||||||
if (KdDebugState & KD_DEBUG_MDA)
|
if (KdDebugState & KD_DEBUG_MDA)
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: main.c,v 1.190 2004/08/01 21:57:35 navaraf Exp $
|
/* $Id: main.c,v 1.191 2004/08/07 03:41:31 sedwards Exp $
|
||||||
*
|
*
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ke/main.c
|
* FILE: ntoskrnl/ke/main.c
|
||||||
|
@ -694,7 +694,7 @@ ExpInitializeExecutive(VOID)
|
||||||
|
|
||||||
/* On the assumption that we can now access disks start up the debug
|
/* On the assumption that we can now access disks start up the debug
|
||||||
* logger thread */
|
* logger thread */
|
||||||
if ((KdDebuggerEnabled == TRUE) && (KdDebugState & KD_DEBUG_FILELOG))
|
if ((KdDebuggerEnabled == TRUE) && (KdDebugState & KD_DEBUG_BOOTLOG))
|
||||||
{
|
{
|
||||||
DebugLogInit2();
|
DebugLogInit2();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue