X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Nt32Pkg%2FLibrary%2FPlatformBootManagerLib%2FPlatformBootManager.c;fp=Nt32Pkg%2FLibrary%2FPlatformBootManagerLib%2FPlatformBootManager.c;h=007e18a956c46e18f37df6830be4192e151f1652;hb=ef3216ebf35087ed7b99c8e980b581ece12c75b8;hp=82f7647c7039beaec2b2b7ca7dc83573aa02ac5d;hpb=e79bed787d4145644c5a68d34c91b695271524e6;p=mirror_edk2.git diff --git a/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c index 82f7647c70..007e18a956 100644 --- a/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c +++ b/Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c @@ -262,20 +262,20 @@ PlatformBootManagerWaitCallback ( UINT16 TimeoutRemain ) { - EFI_GRAPHICS_OUTPUT_BLT_PIXEL Black; - EFI_GRAPHICS_OUTPUT_BLT_PIXEL White; - UINT16 Timeout; + EFI_GRAPHICS_OUTPUT_BLT_PIXEL_UNION Black; + EFI_GRAPHICS_OUTPUT_BLT_PIXEL_UNION White; + UINT16 Timeout; Timeout = PcdGet16 (PcdPlatformBootTimeOut); - Black.Blue = Black.Green = Black.Red = Black.Reserved = 0; - White.Blue = White.Green = White.Red = White.Reserved = 0xFF; + Black.Raw = 0x00000000; + White.Raw = 0x00FFFFFF; BootLogoUpdateProgress ( - White, - Black, + White.Pixel, + Black.Pixel, L"Start boot option", - White, + White.Pixel, (Timeout - TimeoutRemain) * 100 / Timeout, 0 );