else
{
/* Use hard-coded banner message */
- Status = RtlStringCbCopyA(EndBuffer, Remaining, "REACTOS (R)\n");
+ Status = RtlStringCbCopyA(EndBuffer, Remaining, "REACTOS (R)\r\n");
if (!NT_SUCCESS(Status))
{
/* Bugcheck */
sizeof(InitBuffer->VersionBuffer),
NT_SUCCESS(MsgStatus) ?
(PCHAR)MsgEntry->Text :
- "%u System Processor [%u MB Memory] %Z\n",
+ "%u System Processor [%u MB Memory] %Z\r\n",
KeNumberProcessors,
Size,
&TempString);
if (!KeLoaderBlock) return;
RtlUpcaseUnicodeString(ServiceName, ServiceName, FALSE);
snprintf(TextBuffer, sizeof(TextBuffer),
- "%s%sSystem32\\Drivers\\%wZ%s\n",
+ "%s%sSystem32\\Drivers\\%wZ%s\r\n",
KeLoaderBlock->ArcBootDeviceName,
KeLoaderBlock->NtBootPathName,
ServiceName,
}
if (ComPortNumber == 0)
{
- sprintf(buffer,
- "\nKernel Debugger: No COM port found!\n\n");
- HalDisplayString(buffer);
+ HalDisplayString("\r\nKernel Debugger: No COM port found!\r\n\r\n");
return FALSE;
}
}
: PortInformation->BaudRate));
if (!NT_SUCCESS(Status))
{
- sprintf(buffer,
- "\nKernel Debugger: Serial port not found!\n\n");
- HalDisplayString(buffer);
+ HalDisplayString("\r\nKernel Debugger: Serial port not found!\r\n\r\n");
return FALSE;
}
else
#ifndef NDEBUG
/* Print message to blue screen */
sprintf(buffer,
- "\nKernel Debugger: Serial port found: COM%ld (Port 0x%lx) BaudRate %ld\n\n",
+ "\r\nKernel Debugger: Serial port found: COM%ld (Port 0x%lx) BaudRate %ld\r\n\r\n",
ComPortNumber,
PortInformation->Address,
PortInformation->BaudRate);
}
else if (BootPhase == 2)
{
- HalDisplayString("\n File log debugging enabled\n\n");
+ HalDisplayString("\r\n File log debugging enabled\r\n\r\n");
}
else if (BootPhase == 3)
{
}
else if (BootPhase == 2)
{
- HalDisplayString("\n Serial debugging enabled\n\n");
+ HalDisplayString("\r\n Serial debugging enabled\r\n\r\n");
}
}
}
else if (BootPhase == 2)
{
- HalDisplayString("\n Screen debugging enabled\n\n");
+ HalDisplayString("\r\n Screen debugging enabled\r\n\r\n");
}
}
#endif /* DBG */
default:
DPRINT1("Invalid debug service call!\n");
- HalDisplayString("Invalid debug service call!\n");
+ HalDisplayString("Invalid debug service call!\r\n");
break;
}
}
else if (BootPhase == 2)
{
- HalDisplayString("\n Bochs debugging enabled\n\n");
+ HalDisplayString("\r\n Bochs debugging enabled\r\n\r\n");
}
}
GspDbgThread = NULL;
GspEnumThread = NULL;
- HalDisplayString("Waiting for GDB to attach\n");
+ HalDisplayString("Waiting for GDB to attach\r\n");
DbgBreakPointWithStatus(DBG_STATUS_CONTROL_C);
}
else if (BootPhase == 2)
{
- HalDisplayString("\n GDB debugging enabled\n\n");
+ HalDisplayString("\r\n GDB debugging enabled\r\n\r\n");
}
}
GspDbgThread = NULL;
GspEnumThread = NULL;
- HalDisplayString("Waiting for GDB to attach\n");
+ HalDisplayString("Waiting for GDB to attach\r\n");
DbgBreakPointWithStatus(DBG_STATUS_CONTROL_C);
}
else if (BootPhase == 2)
{
- HalDisplayString("\n GDB debugging enabled\n\n");
+ HalDisplayString("\r\n GDB debugging enabled\r\n\r\n");
}
}
/* Format driver name */
sprintf(Message,
- "%s** %12s - Address %p base at %p, DateStamp %08lx\n",
+ "%s** %12s - Address %p base at %p, DateStamp %08lx\r\n",
FirstRun ? "\r\n*":"*",
AnsiName,
(PVOID)Parameters[i],
else
{
/* Do it in text-mode */
- for (i = 0; i < 25; i++) InbvDisplayString("\n");
+ for (i = 0; i < 25; i++) InbvDisplayString("\r\n");
InbvDisplayString(" ");
- InbvDisplayString("The system may be powered off now.\n");
+ InbvDisplayString("The system may be powered off now.\r\n");
}
/* Hang the system */