]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c
Nt32Pkg: Use BootLogoLib for logo and progress bar drawing.
[mirror_edk2.git] / Nt32Pkg / Library / PlatformBootManagerLib / PlatformBootManager.c
index e944105b39254cf82dfa7183daab68464bbecc14..82f7647c7039beaec2b2b7ca7dc83573aa02ac5d 100644 (file)
@@ -38,14 +38,14 @@ PlatformBootManagerDiagnostics (
   // from the graphic lib\r
   //\r
   if (QuietBoot) {\r
-    PlatformBootManagerEnableQuietBoot (PcdGetPtr(PcdLogoFile));\r
+    BootLogoEnableLogo (ImageFormatBmp, PcdGetPtr(PcdLogoFile), EdkiiPlatformLogoDisplayAttributeCenter, 0, 0);\r
 \r
     //\r
     // Perform system diagnostic\r
     //\r
     Status = PlatformBootManagerMemoryTest (MemoryTestLevel);\r
     if (EFI_ERROR (Status)) {\r
-      PlatformBootManagerDisableQuietBoot ();\r
+      BootLogoDisableLogo ();\r
     }\r
 \r
     return;\r
@@ -271,7 +271,7 @@ PlatformBootManagerWaitCallback (
   Black.Blue = Black.Green = Black.Red = Black.Reserved = 0;\r
   White.Blue = White.Green = White.Red = White.Reserved = 0xFF;\r
 \r
-  PlatformBootManagerShowProgress (\r
+  BootLogoUpdateProgress (\r
     White,\r
     Black,\r
     L"Start boot option",\r