X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkNt32Pkg%2FDxe%2FPlatformBds%2FBdsPlatform.c;h=89dbef0e52ae3904ed5b26e382fa3bd5cb1a0570;hp=d1edef3d7ed9cadfda0d91af70c12977e071c099;hb=5d01b0f7046dc698e66019d78c9143f0f3702382;hpb=878ddf1fc3540a715f63594ed22b6929e881afb4 diff --git a/EdkNt32Pkg/Dxe/PlatformBds/BdsPlatform.c b/EdkNt32Pkg/Dxe/PlatformBds/BdsPlatform.c index d1edef3d7e..89dbef0e52 100644 --- a/EdkNt32Pkg/Dxe/PlatformBds/BdsPlatform.c +++ b/EdkNt32Pkg/Dxe/PlatformBds/BdsPlatform.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -254,7 +254,7 @@ Returns: // from the graphic lib // if (QuietBoot) { - EnableQuietBoot (&gEfiUgaSplashProtocolGuid); + EnableQuietBoot (&gEfiDefaultBmpLogoGuid); // // Perform system diagnostic // @@ -315,7 +315,7 @@ Returns: // // Get current Boot Mode // - Status = BdsLibGetBootMode (&PrivateData->BootMode); + PrivateData->BootMode = GetBootModeHob(); // // Go the different platform policy with different boot mode @@ -445,7 +445,7 @@ Returns: TmpStr = GetStringById (STRING_TOKEN (STR_BOOT_SUCCEEDED)); if (TmpStr != NULL) { BdsLibOutputStrings (gST->ConOut, TmpStr, Option->Description, L"\n\r", NULL); - gBS->FreePool (TmpStr); + FreePool (TmpStr); } } @@ -487,7 +487,7 @@ Returns: TmpStr = GetStringById (STRING_TOKEN (STR_BOOT_FAILED)); if (TmpStr != NULL) { BdsLibOutputStrings (gST->ConOut, TmpStr, Option->Description, L"\n\r", NULL); - gBS->FreePool (TmpStr); + FreePool (TmpStr); } }