[HAL][PCIX]: Finish to put \r\n for Hal\InbvDisplayStrings. Part 3/3.

svn path=/trunk/; revision=60657
This commit is contained in:
Hermès Bélusca-Maïto 2013-10-13 23:37:11 +00:00
parent 2fff802939
commit 8109301ade
4 changed files with 12 additions and 12 deletions

View file

@ -240,7 +240,7 @@ PciGetAcpiTable(IN ULONG TableCode)
(Rsdt->Header.Signature != XSDT_SIGNATURE)) (Rsdt->Header.Signature != XSDT_SIGNATURE))
{ {
/* Very bad: crash */ /* Very bad: crash */
HalDisplayString("RSDT table contains invalid signature\n"); HalDisplayString("RSDT table contains invalid signature\r\n");
MmUnmapIoSpace(Rsdt, TableLength); MmUnmapIoSpace(Rsdt, TableLength);
return NULL; return NULL;
} }

View file

@ -58,25 +58,25 @@ HalHandleNMI(IN PVOID NmiInfo)
ucStatus = READ_PORT_UCHAR((PUCHAR)0x61); ucStatus = READ_PORT_UCHAR((PUCHAR)0x61);
/* Display NMI failure string */ /* Display NMI failure string */
HalDisplayString ("\n*** Hardware Malfunction\n\n"); HalDisplayString ("\r\n*** Hardware Malfunction\r\n\r\n");
HalDisplayString ("Call your hardware vendor for support\n\n"); HalDisplayString ("Call your hardware vendor for support\r\n\r\n");
/* Check for parity error */ /* Check for parity error */
if (ucStatus & 0x80) if (ucStatus & 0x80)
{ {
/* Display message */ /* Display message */
HalDisplayString ("NMI: Parity Check / Memory Parity Error\n"); HalDisplayString ("NMI: Parity Check / Memory Parity Error\r\n");
} }
/* Check for I/O failure */ /* Check for I/O failure */
if (ucStatus & 0x40) if (ucStatus & 0x40)
{ {
/* Display message */ /* Display message */
HalDisplayString ("NMI: Channel Check / IOCHK\n"); HalDisplayString ("NMI: Channel Check / IOCHK\r\n");
} }
/* Halt the system */ /* Halt the system */
HalDisplayString("\n*** The system has halted ***\n"); HalDisplayString("\r\n*** The system has halted ***\r\n");
//KeEnterKernelDebugger(); //KeEnterKernelDebugger();
} }

View file

@ -688,7 +688,7 @@ HalpAcpiTableCacheInit(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
(Rsdt->Header.Signature != XSDT_SIGNATURE)) (Rsdt->Header.Signature != XSDT_SIGNATURE))
{ {
/* Very bad: crash */ /* Very bad: crash */
HalDisplayString("Bad RSDT pointer\n"); HalDisplayString("Bad RSDT pointer\r\n");
KeBugCheckEx(MISMATCHED_HAL, 4, __LINE__, 0, 0); KeBugCheckEx(MISMATCHED_HAL, 4, __LINE__, 0, 0);
} }

View file

@ -264,8 +264,8 @@ HalHandleNMI(IN PVOID NmiInfo)
// //
// Display NMI failure string // Display NMI failure string
// //
InbvDisplayString("\n*** Hardware Malfunction\n\n"); InbvDisplayString("\r\n*** Hardware Malfunction\r\n\r\n");
InbvDisplayString("Call your hardware vendor for support\n\n"); InbvDisplayString("Call your hardware vendor for support\r\n\r\n");
// //
// Check for parity error // Check for parity error
@ -275,7 +275,7 @@ HalHandleNMI(IN PVOID NmiInfo)
// //
// Display message // Display message
// //
InbvDisplayString("NMI: Parity Check / Memory Parity Error\n"); InbvDisplayString("NMI: Parity Check / Memory Parity Error\r\n");
} }
// //
@ -286,7 +286,7 @@ HalHandleNMI(IN PVOID NmiInfo)
// //
// Display message // Display message
// //
InbvDisplayString("NMI: Channel Check / IOCHK\n"); InbvDisplayString("NMI: Channel Check / IOCHK\r\n");
} }
// //
@ -303,7 +303,7 @@ HalHandleNMI(IN PVOID NmiInfo)
// //
// Halt the system // Halt the system
// //
InbvDisplayString("\n*** The system has halted ***\n"); InbvDisplayString("\r\n*** The system has halted ***\r\n");
// //