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:
Ruiyu Ni
2015-11-12 05:39:39 +00:00
committed by niruiyu
parent 8dfe7fd239
commit 859e75c4fc
5 changed files with 14 additions and 840 deletions

View File

@@ -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",