Remove PeCoffLoader library class and its instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3967 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -79,7 +79,6 @@ Revision History
|
||||
#include <Library/PerformanceLib.h>
|
||||
#include <Library/UefiDecompressLib.h>
|
||||
#include <Library/CustomDecompressLib.h>
|
||||
#include <Library/PeCoffLoaderLib.h>
|
||||
#include <Library/CacheMaintenanceLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
#include <Library/PeCoffLib.h>
|
||||
@@ -203,7 +202,6 @@ extern EFI_DXE_SERVICES *gDxeCoreDS;
|
||||
extern EFI_HANDLE gDxeCoreImageHandle;
|
||||
|
||||
extern EFI_DECOMPRESS_PROTOCOL gEfiDecompress;
|
||||
extern EFI_PEI_PE_COFF_LOADER_PROTOCOL *gEfiPeiPeCoffLoader;
|
||||
|
||||
extern EFI_RUNTIME_ARCH_PROTOCOL *gRuntime;
|
||||
extern EFI_CPU_ARCH_PROTOCOL *gCpu;
|
||||
|
@@ -42,7 +42,6 @@ Abstract:
|
||||
#include <Library/PeiServicesLib.h>
|
||||
#include <Library/ReportStatusCodeLib.h>
|
||||
#include <Library/CacheMaintenanceLib.h>
|
||||
#include <Library/PeCoffLoaderLib.h>
|
||||
#include <Library/UefiDecompressLib.h>
|
||||
#include <Library/CustomDecompressLib.h>
|
||||
#include <Library/PeiServicesTablePointerLib.h>
|
||||
@@ -61,15 +60,6 @@ Abstract:
|
||||
|
||||
extern BOOLEAN gInMemory;
|
||||
|
||||
EFI_STATUS
|
||||
PeiFindFile (
|
||||
IN UINT8 Type,
|
||||
IN EFI_SECTION_TYPE SectionType,
|
||||
OUT EFI_GUID *FileName,
|
||||
OUT VOID **Pe32Data
|
||||
)
|
||||
;
|
||||
|
||||
EFI_STATUS
|
||||
PeiLoadFile (
|
||||
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||
@@ -100,31 +90,6 @@ GetImageReadFunction (
|
||||
)
|
||||
;
|
||||
|
||||
EFI_STATUS
|
||||
PeiImageRead (
|
||||
IN VOID *FileHandle,
|
||||
IN UINTN FileOffset,
|
||||
IN OUT UINTN *ReadSize,
|
||||
OUT VOID *Buffer
|
||||
)
|
||||
;
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
DxeIplLoadFile (
|
||||
IN EFI_PEI_FV_FILE_LOADER_PPI *This,
|
||||
IN EFI_FFS_FILE_HEADER *FfsHeader,
|
||||
OUT EFI_PHYSICAL_ADDRESS *ImageAddress,
|
||||
OUT UINT64 *ImageSize,
|
||||
OUT EFI_PHYSICAL_ADDRESS *EntryPoint
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
ShadowDxeIpl (
|
||||
IN EFI_FFS_FILE_HEADER *DxeIpl,
|
||||
IN EFI_PEI_PE_COFF_LOADER_PROTOCOL *PeiEfiPeiPeCoffLoader
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
DxeLoadCore (
|
||||
@@ -140,14 +105,6 @@ HandOffToDxeCore (
|
||||
IN EFI_PEI_PPI_DESCRIPTOR *EndOfPeiSignal
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
PeiProcessFile (
|
||||
IN EFI_SECTION_TYPE SectionType,
|
||||
IN EFI_FFS_FILE_HEADER *FfsFileHeader,
|
||||
OUT VOID **Pe32Data,
|
||||
IN EFI_PEI_HOB_POINTERS *OrigHob
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
PeimInitializeDxeIpl (
|
||||
|
@@ -557,8 +557,7 @@ InitializeImageServices (
|
||||
|
||||
Routine Description:
|
||||
|
||||
Regitser PeCoffLoader to PeiCore PrivateData. And install
|
||||
Pei Load File PPI.
|
||||
Install Pei Load File PPI.
|
||||
|
||||
Arguments:
|
||||
|
||||
|
@@ -44,11 +44,11 @@ Revision History
|
||||
#include <Library/PerformanceLib.h>
|
||||
#include <Library/PeiServicesLib.h>
|
||||
#include <Library/ReportStatusCodeLib.h>
|
||||
#include <Library/PeCoffLib.h>
|
||||
#include <Library/PeCoffGetEntryPointLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
#include <Library/CacheMaintenanceLib.h>
|
||||
#include <Library/TimerLib.h>
|
||||
#include <Library/PeCoffLoaderLib.h>
|
||||
#include <IndustryStandard/PeImage.h>
|
||||
#include <Library/PeiServicesTablePointerLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
@@ -1399,8 +1399,7 @@ InitializeImageServices (
|
||||
|
||||
Routine Description:
|
||||
|
||||
Regitser PeCoffLoader to PeiCore PrivateData. And install
|
||||
Pei Load File PPI.
|
||||
Install Pei Load File PPI.
|
||||
|
||||
Arguments:
|
||||
|
||||
|
@@ -87,7 +87,6 @@
|
||||
[Guids]
|
||||
gPeiAprioriFileNameGuid
|
||||
gEfiFirmwareFileSystem2Guid
|
||||
gEfiPeiPeCoffLoaderGuid
|
||||
|
||||
[Ppis]
|
||||
gEfiPeiSecurityPpiGuid # PPI_NOTIFY SOMETIMES_CONSUMED
|
||||
|
Reference in New Issue
Block a user