From e3754a763103297fa0a8e2b814034a452d013b40 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Mon, 3 Feb 2020 10:51:54 -0700 Subject: [PATCH] UefiPayloadPkg: Show boot message as progress text --- .../PlatformBootManager.c | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c index 6eb7b081f9..1a30730407 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c @@ -193,12 +193,6 @@ PlatformBootManagerAfterConsole ( VOID ) { - EFI_GRAPHICS_OUTPUT_BLT_PIXEL Black; - EFI_GRAPHICS_OUTPUT_BLT_PIXEL White; - - Black.Blue = Black.Green = Black.Red = Black.Reserved = 0; - White.Blue = White.Green = White.Red = White.Reserved = 0xFF; - gST->ConOut->ClearScreen (gST->ConOut); BootLogoEnableLogo (); @@ -209,8 +203,6 @@ PlatformBootManagerAfterConsole ( // Register UEFI Shell // //PlatformRegisterFvBootOption (PcdGetPtr (PcdShellFile), L"UEFI Shell", LOAD_OPTION_ACTIVE); - - Print (L"Pess ESC to enter Boot Manager Menu.\n"); } /** @@ -224,7 +216,20 @@ PlatformBootManagerWaitCallback ( UINT16 TimeoutRemain ) { - return; + EFI_GRAPHICS_OUTPUT_BLT_PIXEL Black; + EFI_GRAPHICS_OUTPUT_BLT_PIXEL White; + + Black.Blue = Black.Green = Black.Red = Black.Reserved = 0; + White.Blue = White.Green = White.Red = White.Reserved = 0xFF; + + BootLogoUpdateProgress ( + White, + Black, + L"Press ESC for Boot Options/Settings, or SPACE for Pop!_OS Recovery", + White, + 0, + 0 + ); } /**