UefiPayloadPkg: Show boot message as progress text
This commit is contained in:
@@ -193,12 +193,6 @@ PlatformBootManagerAfterConsole (
|
|||||||
VOID
|
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);
|
gST->ConOut->ClearScreen (gST->ConOut);
|
||||||
BootLogoEnableLogo ();
|
BootLogoEnableLogo ();
|
||||||
|
|
||||||
@@ -209,8 +203,6 @@ PlatformBootManagerAfterConsole (
|
|||||||
// Register UEFI Shell
|
// Register UEFI Shell
|
||||||
//
|
//
|
||||||
//PlatformRegisterFvBootOption (PcdGetPtr (PcdShellFile), L"UEFI Shell", LOAD_OPTION_ACTIVE);
|
//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
|
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
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user