diff options
Diffstat (limited to 'EdkModulePkg/Library')
-rw-r--r-- | EdkModulePkg/Library/EdkGenericBdsLib/BdsMisc.c | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/EdkModulePkg/Library/EdkGenericBdsLib/BdsMisc.c b/EdkModulePkg/Library/EdkGenericBdsLib/BdsMisc.c index 2662ba7..f159184 100644 --- a/EdkModulePkg/Library/EdkGenericBdsLib/BdsMisc.c +++ b/EdkModulePkg/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
@@ -148,7 +148,7 @@ Returns: );
if (!EFI_ERROR (Status)) {
- gBS->HandleProtocol (ImageHandle, &gEfiLoadedImageProtocolGuid, + gBS->HandleProtocol (ImageHandle, &gEfiLoadedImageProtocolGuid,
(VOID **)&ImageInfo);
//
@@ -559,37 +559,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,
|