From 7d1faef9eeadd2e14fe3d7e31f1df1a180947364 Mon Sep 17 00:00:00 2001 From: Saveliy Tretiakov Date: Thu, 21 Sep 2006 07:42:21 +0000 Subject: [PATCH] Fix boot with /DEBUGPORT=GDB and /DEBUGPORT=COM1. I don't know why, but this works... svn path=/trunk/; revision=24223 --- reactos/ntoskrnl/kd/kdio.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/reactos/ntoskrnl/kd/kdio.c b/reactos/ntoskrnl/kd/kdio.c index 811d22f7a64..e8c638325aa 100644 --- a/reactos/ntoskrnl/kd/kdio.c +++ b/reactos/ntoskrnl/kd/kdio.c @@ -188,13 +188,14 @@ KdpSerialInit(PKD_DISPATCH_TABLE DispatchTable, /* Register as a Provider */ InsertTailList(&KdProviders, &DispatchTable->KdProvidersList); - - /* Display separator + ReactOS version at start of the debug log */ - DPRINT1("---------------------------------------------------------------\n"); - DPRINT1("ReactOS "KERNEL_VERSION_STR" (Build "KERNEL_VERSION_BUILD_STR")\n"); } else if (BootPhase == 2) { + /* Display separator + ReactOS version at start of the debug log */ + DbgPrint("---------------------------------------------------------------\n"); + DbgPrint("ReactOS "KERNEL_VERSION_STR" (Build "KERNEL_VERSION_BUILD_STR")\n"); + DbgPrint("---------------------------------------------------------------\n"); + HalDisplayString("\n Serial debugging enabled\n\n"); } }