X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkUnixPkg%2FDxe%2FPlatformBds%2FBdsPlatform.c;fp=EdkUnixPkg%2FDxe%2FPlatformBds%2FBdsPlatform.c;h=f6e29c73e7d2cf0c3dca7e06bdbaac88a8cc774c;hp=d77d8488223a1fa836e36d91e15906884de024e3;hb=17fb73c8e164fd9a91cef8408c9c2dcdb95a6d3c;hpb=42721684d59a6bc9655054a8fdef789fa5bab3f3 diff --git a/EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c b/EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c index d77d848822..f6e29c73e7 100644 --- a/EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c +++ b/EdkUnixPkg/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 @@ -304,7 +304,7 @@ Returns: // // Get current Boot Mode // - Status = BdsLibGetBootMode (&PrivateData->BootMode); + PrivateData->BootMode = GetBootModeHob(); // // Go the different platform policy with different boot mode