]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c
Nt32Pkg/PlatformBootManagerLib: zero EFI_GRAPHICS_OUTPUT_BLT_PIXEL.Reserved
[mirror_edk2.git] / Nt32Pkg / Library / PlatformBootManagerLib / PlatformBootManager.c
index 82f7647c7039beaec2b2b7ca7dc83573aa02ac5d..007e18a956c46e18f37df6830be4192e151f1652 100644 (file)
@@ -262,20 +262,20 @@ PlatformBootManagerWaitCallback (
   UINT16          TimeoutRemain\r
   )\r
 {\r
-  EFI_GRAPHICS_OUTPUT_BLT_PIXEL Black;\r
-  EFI_GRAPHICS_OUTPUT_BLT_PIXEL White;\r
-  UINT16                        Timeout;\r
+  EFI_GRAPHICS_OUTPUT_BLT_PIXEL_UNION Black;\r
+  EFI_GRAPHICS_OUTPUT_BLT_PIXEL_UNION White;\r
+  UINT16                              Timeout;\r
 \r
   Timeout = PcdGet16 (PcdPlatformBootTimeOut);\r
 \r
-  Black.Blue = Black.Green = Black.Red = Black.Reserved = 0;\r
-  White.Blue = White.Green = White.Red = White.Reserved = 0xFF;\r
+  Black.Raw = 0x00000000;\r
+  White.Raw = 0x00FFFFFF;\r
 \r
   BootLogoUpdateProgress (\r
-    White,\r
-    Black,\r
+    White.Pixel,\r
+    Black.Pixel,\r
     L"Start boot option",\r
-    White,\r
+    White.Pixel,\r
     (Timeout - TimeoutRemain) * 100 / Timeout,\r
     0\r
     );\r