summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkModulePkg/Include/Library
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFrameworkModulePkg/Include/Library')
-rw-r--r--IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
index a262093865..f7224f60c8 100644
--- a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
+++ b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
@@ -15,10 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _GENERIC_BDS_LIB_H_
#define _GENERIC_BDS_LIB_H_
-#include <Protocol/HiiDatabase.h>
-#include <IndustryStandard/PeImage.h>
-
-
extern EFI_HANDLE mBdsImageHandle;
//
@@ -772,29 +768,6 @@ SetupResetReminder (
VOID
);
-
-/**
- Get the headers (dos, image, optional header) from an image
-
- @param Device SimpleFileSystem device handle
- @param FileName File name for the image
- @param DosHeader Pointer to dos header
- @param Hdr The buffer in which to return the PE32, PE32+, or TE header.
-
- @retval EFI_SUCCESS Successfully get the machine type.
- @retval EFI_NOT_FOUND The file is not found.
- @retval EFI_LOAD_ERROR File is not a valid image file.
-
-**/
-EFI_STATUS
-EFIAPI
-BdsLibGetImageHeader (
- IN EFI_HANDLE Device,
- IN CHAR16 *FileName,
- OUT EFI_IMAGE_DOS_HEADER *DosHeader,
- OUT EFI_IMAGE_OPTIONAL_HEADER_PTR_UNION Hdr
- );
-
//
// Define the boot type which to classify the boot option type
// Different boot option type could have different boot behavior