X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=EdkNt32Pkg%2FLibrary%2FEdkGenericBdsLib%2FBdsMisc.c;h=6a3ec058bf978ec6c4ec3b1f7daa5ba45cf5199f;hb=17fb73c8e164fd9a91cef8408c9c2dcdb95a6d3c;hp=e7add072e18c30da4dfc828356c74df5b92bafc3;hpb=42721684d59a6bc9655054a8fdef789fa5bab3f3;p=mirror_edk2.git diff --git a/EdkNt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c b/EdkNt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c index e7add072e1..6a3ec058bf 100644 --- a/EdkNt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c +++ b/EdkNt32Pkg/Library/EdkGenericBdsLib/BdsMisc.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 @@ -558,37 +558,6 @@ Returns: return EFI_SUCCESS; } -EFI_STATUS -BdsLibGetBootMode ( - OUT EFI_BOOT_MODE *BootMode - ) -/*++ - -Routine Description: - - Get boot mode by looking up configuration table and parsing HOB list - -Arguments: - - BootMode - Boot mode from PEI handoff HOB. - -Returns: - - EFI_SUCCESS - Successfully get boot mode - - EFI_NOT_FOUND - Can not find the current system boot mode - ---*/ -{ - EFI_HOB_HANDOFF_INFO_TABLE *HobList; - - HobList = GetHobList (); - ASSERT (HobList->Header.HobType == EFI_HOB_TYPE_HANDOFF); - *BootMode = HobList->BootMode; - - return EFI_SUCCESS; -} - VOID * BdsLibGetVariableAndSize ( IN CHAR16 *Name,