Nt32Pkg: Use BootLogoLib for logo and progress bar drawing.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18773 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -38,14 +38,14 @@ PlatformBootManagerDiagnostics (
|
||||
// from the graphic lib
|
||||
//
|
||||
if (QuietBoot) {
|
||||
PlatformBootManagerEnableQuietBoot (PcdGetPtr(PcdLogoFile));
|
||||
BootLogoEnableLogo (ImageFormatBmp, PcdGetPtr(PcdLogoFile), EdkiiPlatformLogoDisplayAttributeCenter, 0, 0);
|
||||
|
||||
//
|
||||
// Perform system diagnostic
|
||||
//
|
||||
Status = PlatformBootManagerMemoryTest (MemoryTestLevel);
|
||||
if (EFI_ERROR (Status)) {
|
||||
PlatformBootManagerDisableQuietBoot ();
|
||||
BootLogoDisableLogo ();
|
||||
}
|
||||
|
||||
return;
|
||||
@@ -271,7 +271,7 @@ PlatformBootManagerWaitCallback (
|
||||
Black.Blue = Black.Green = Black.Red = Black.Reserved = 0;
|
||||
White.Blue = White.Green = White.Red = White.Reserved = 0xFF;
|
||||
|
||||
PlatformBootManagerShowProgress (
|
||||
BootLogoUpdateProgress (
|
||||
White,
|
||||
Black,
|
||||
L"Start boot option",
|
||||
|
Reference in New Issue
Block a user