From: BigfootACA Date: 星期天, 30 Jan 2022 19:47:11 +0000 (+0800) Subject: PlatformBootManagerLib: clear screen after progress X-Git-Tag: v1.1.1~3 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=7e3fff8cfb6babae21ddd1c8422d1e420402f999;p=edk2-sdm845.git PlatformBootManagerLib: clear screen after progress --- diff --git a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c index b4e4077..c403727 100644 --- a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -714,6 +714,12 @@ VOID EFIAPI PlatformBootManagerWaitCallback(UINT16 TimeoutRemain) Timeout = PcdGet16(PcdPlatformBootTimeOut); + if (Timeout != 0 && TimeoutRemain <= 0) { + gST->ConOut->ClearScreen(gST->ConOut); + BootLogoEnableLogo (); + return; + } + Black.Raw = 0x00000000; White.Raw = 0x00FFFFFF;