mirror of
https://github.com/reactos/reactos.git
synced 2024-08-16 16:39:08 +00:00
Fixed a bug in KdpPrintString().
When serial debug was enabled, than the bochs debug dosn't work. svn path=/trunk/; revision=2246
This commit is contained in:
parent
aebc047c8c
commit
5ee0bf283e
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: kdebug.c,v 1.28 2001/08/30 20:38:19 dwelch Exp $
|
/* $Id: kdebug.c,v 1.29 2001/09/09 09:47:18 hbirr Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -204,7 +204,7 @@ KdInitSystem (
|
||||||
ULONG KdpPrintString (PANSI_STRING String)
|
ULONG KdpPrintString (PANSI_STRING String)
|
||||||
{
|
{
|
||||||
PCH pch = String->Buffer;
|
PCH pch = String->Buffer;
|
||||||
|
|
||||||
if (KdpDebugType & ScreenDebug)
|
if (KdpDebugType & ScreenDebug)
|
||||||
{
|
{
|
||||||
HalDisplayString (String->Buffer);
|
HalDisplayString (String->Buffer);
|
||||||
|
@ -223,6 +223,7 @@ ULONG KdpPrintString (PANSI_STRING String)
|
||||||
}
|
}
|
||||||
if (KdpDebugType & BochsDebug)
|
if (KdpDebugType & BochsDebug)
|
||||||
{
|
{
|
||||||
|
pch = String->Buffer;
|
||||||
while (*pch != 0)
|
while (*pch != 0)
|
||||||
{
|
{
|
||||||
if (*pch == '\n')
|
if (*pch == '\n')
|
||||||
|
|
Loading…
Reference in a new issue