Author: hbelusca Date: Fri Jan 8 15:01:11 2016 New Revision: 70549
URL: http://svn.reactos.org/svn/reactos?rev=70549&view=rev Log: [BOOTMGR]: Fix missing '\r' for EfiPrintf newlines, and few misspellings.
Modified: trunk/reactos/boot/environ/app/bootmgr/bootmgr.c trunk/reactos/boot/environ/app/bootmgr/rtlcompat.c trunk/reactos/boot/environ/lib/firmware/efi/firmware.c trunk/reactos/boot/environ/lib/io/blkcache.c trunk/reactos/boot/environ/lib/io/device.c trunk/reactos/boot/environ/lib/io/etfs.c trunk/reactos/boot/environ/lib/io/file.c trunk/reactos/boot/environ/lib/misc/font.c
Modified: trunk/reactos/boot/environ/app/bootmgr/bootmgr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/app/bootmgr/bo... ============================================================================== --- trunk/reactos/boot/environ/app/bootmgr/bootmgr.c [iso-8859-1] (original) +++ trunk/reactos/boot/environ/app/bootmgr/bootmgr.c [iso-8859-1] Fri Jan 8 15:01:11 2016 @@ -585,7 +585,7 @@ default:
/* The rest is not yet handled */ - EfiPrintf(L"Unexpected fatal error: %lx\n", ErrorCode); + EfiPrintf(L"Unexpected fatal error: %lx\r\n", ErrorCode); while (1); break; } @@ -748,7 +748,7 @@ if (BcdDevice->DeviceType == UdpDevice) { /* Nope. Nope. Nope */ - EfiPrintf(L"Not handled\n"); + EfiPrintf(L"Not handled\r\n"); Status = STATUS_NOT_IMPLEMENTED; goto Quickie; } @@ -1195,7 +1195,7 @@ //PBL_LOADED_APPLICATION_ENTRY* BootEntries; //PBL_LOADED_APPLICATION_ENTRY BootEntry;
- EfiPrintf(L"ReactOS UEFI Boot Manager Initializing...\n"); + EfiPrintf(L"ReactOS UEFI Boot Manager Initializing...\r\n");
/* Reading the BCD can change this later on */ RebootOnError = FALSE; @@ -1360,7 +1360,7 @@ /* Display state is not currently cached */ BmDisplayStateCached = FALSE;
- /* Check if w need to resume from hibernate */ + /* Check if we need to resume from hibernate */ Status = BmResumeFromHibernate(&ResumeBcdHandle); if (!NT_SUCCESS(Status)) { @@ -1465,7 +1465,7 @@ ReturnArguments->Version = BL_RETURN_ARGUMENTS_VERSION; ReturnArguments->Status = Status;
- /* Tear down the boot library*/ + /* Tear down the boot library */ BlDestroyLibrary(); }
Modified: trunk/reactos/boot/environ/app/bootmgr/rtlcompat.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/app/bootmgr/rt... ============================================================================== --- trunk/reactos/boot/environ/app/bootmgr/rtlcompat.c [iso-8859-1] (original) +++ trunk/reactos/boot/environ/app/bootmgr/rtlcompat.c [iso-8859-1] Fri Jan 8 15:01:11 2016 @@ -68,7 +68,7 @@ IN PCHAR Message OPTIONAL ) { - EfiPrintf(L"*** ASSERTION %s FAILED AT %d in %s (%s) ***\r \n", + EfiPrintf(L"*** ASSERTION %s FAILED AT %d in %s (%s) ***\r\n", FailedAssertion, LineNumber, FileName,
Modified: trunk/reactos/boot/environ/lib/firmware/efi/firmware.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/firmware/e... ============================================================================== --- trunk/reactos/boot/environ/lib/firmware/efi/firmware.c [iso-8859-1] (original) +++ trunk/reactos/boot/environ/lib/firmware/efi/firmware.c [iso-8859-1] Fri Jan 8 15:01:11 2016 @@ -949,7 +949,7 @@ if ((ModeChanged) && (NT_SUCCESS(Status))) { /* FIXME @TODO: Should be BlStatusPrint */ - EfiPrintf(L"Console video mode set to 0x%x\r\r\n", Mode); + EfiPrintf(L"Console video mode set to 0x%x\r\n", Mode); }
/* Convert the error to an NTSTATUS */ @@ -1485,7 +1485,7 @@
/* Loop the EFI memory map */ #if 0 - EfiPrintf(L"UEFI MEMORY MAP\n\r\n"); + EfiPrintf(L"UEFI MEMORY MAP\r\n\r\n"); EfiPrintf(L"TYPE START END ATTRIBUTES\r\n"); EfiPrintf(L"===============================================================\r\n"); #endif
Modified: trunk/reactos/boot/environ/lib/io/blkcache.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/io/blkcach... ============================================================================== --- trunk/reactos/boot/environ/lib/io/blkcache.c [iso-8859-1] (original) +++ trunk/reactos/boot/environ/lib/io/blkcache.c [iso-8859-1] Fri Jan 8 15:01:11 2016 @@ -96,7 +96,7 @@ }
Quickie: - EfiPrintf(L"Failure path not yet implemented\n"); + EfiPrintf(L"Failure path not yet implemented\r\n"); #if 0 if (BcpHashTableId != -1) {
Modified: trunk/reactos/boot/environ/lib/io/device.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/io/device.... ============================================================================== --- trunk/reactos/boot/environ/lib/io/device.c [iso-8859-1] (original) +++ trunk/reactos/boot/environ/lib/io/device.c [iso-8859-1] Fri Jan 8 15:01:11 2016 @@ -421,7 +421,7 @@ Status = BlockIopOperation(DeviceEntry, ReadBuffer, Offset, 0); if (!NT_SUCCESS(Status)) { - EfiPrintf(L"Block I/O failed:%lx\r\n", Status); + EfiPrintf(L"Block I/O failed: %lx\r\n", Status); return Status; }
@@ -1275,7 +1275,7 @@ Status = BlockIoEfiCreateDeviceEntry(&DeviceEntry, DeviceHandles[i]); if (!NT_SUCCESS(Status)) { - EfiPrintf(L"EFI create failed: %lx\n", Status); + EfiPrintf(L"EFI create failed: %lx\r\n", Status); continue; }
Modified: trunk/reactos/boot/environ/lib/io/etfs.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/io/etfs.c?... ============================================================================== --- trunk/reactos/boot/environ/lib/io/etfs.c [iso-8859-1] (original) +++ trunk/reactos/boot/environ/lib/io/etfs.c [iso-8859-1] Fri Jan 8 15:01:11 2016 @@ -509,7 +509,7 @@ if (FileInfo->Offset >= EtfsFile->Size) { /* Don't allow EOF */ - EfiPrintf(L"Offset too large: %lx vs %lx \r\n", FileInfo->Offset, EtfsFile->Size); + EfiPrintf(L"Offset too large: %lx vs %lx\r\n", FileInfo->Offset, EtfsFile->Size); return STATUS_INVALID_PARAMETER; }
Modified: trunk/reactos/boot/environ/lib/io/file.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/io/file.c?... ============================================================================== --- trunk/reactos/boot/environ/lib/io/file.c [iso-8859-1] (original) +++ trunk/reactos/boot/environ/lib/io/file.c [iso-8859-1] Fri Jan 8 15:01:11 2016 @@ -820,7 +820,7 @@ if (!NT_SUCCESS(Status)) { /* Bail out if the read is invalid */ - EfiPrintf(L"File info check failure: %lx\n", Status); + EfiPrintf(L"File info check failure: %lx\r\n", Status); return Status; }
Modified: trunk/reactos/boot/environ/lib/misc/font.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/misc/font.... ============================================================================== --- trunk/reactos/boot/environ/lib/misc/font.c [iso-8859-1] (original) +++ trunk/reactos/boot/environ/lib/misc/font.c [iso-8859-1] Fri Jan 8 15:01:11 2016 @@ -22,7 +22,7 @@ _In_ PWCHAR FontPath ) { - EfiPrintf(L"Cannot load fond %s, no font loader exists\r\n", FontPath); + EfiPrintf(L"Cannot load font %s, no font loader exists\r\n", FontPath); return STATUS_NOT_IMPLEMENTED; }