summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-28 08:48:41 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-28 08:48:41 +0000
commitc58cf83da218f172fe5af39b7438ef7c3e9857e3 (patch)
tree74819ddf122532f87817bbbfbff0169ec0be2557 /MdeModulePkg/Core
parent5d582956c244d8b5cc03520f73b65a7d042e3720 (diff)
downloadedk2-platforms-c58cf83da218f172fe5af39b7438ef7c3e9857e3.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r--MdeModulePkg/Core/Dxe/DxeMain.h2
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/DxeIpl.h43
-rw-r--r--MdeModulePkg/Core/Pei/Image/Image.c3
-rw-r--r--MdeModulePkg/Core/Pei/PeiMain.h5
-rw-r--r--MdeModulePkg/Core/Pei/PeiMain.inf1
5 files changed, 3 insertions, 51 deletions
diff --git a/MdeModulePkg/Core/Dxe/DxeMain.h b/MdeModulePkg/Core/Dxe/DxeMain.h
index ed531f7bcc..b033009275 100644
--- a/MdeModulePkg/Core/Dxe/DxeMain.h
+++ b/MdeModulePkg/Core/Dxe/DxeMain.h
@@ -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;
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h b/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h
index 71ca9c360e..52df88f1bf 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h
@@ -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>
@@ -62,15 +61,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,
OUT EFI_PHYSICAL_ADDRESS *ImageAddress,
@@ -101,31 +91,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 (
IN EFI_DXE_IPL_PPI *This,
@@ -141,14 +106,6 @@ HandOffToDxeCore (
);
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 (
IN EFI_PEI_FILE_HANDLE FfsHandle,
diff --git a/MdeModulePkg/Core/Pei/Image/Image.c b/MdeModulePkg/Core/Pei/Image/Image.c
index a430d3ea7a..bf7f6e5ae0 100644
--- a/MdeModulePkg/Core/Pei/Image/Image.c
+++ b/MdeModulePkg/Core/Pei/Image/Image.c
@@ -557,8 +557,7 @@ InitializeImageServices (
Routine Description:
- Regitser PeCoffLoader to PeiCore PrivateData. And install
- Pei Load File PPI.
+ Install Pei Load File PPI.
Arguments:
diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b/MdeModulePkg/Core/Pei/PeiMain.h
index 2d1e29d9f4..e14afd0723 100644
--- a/MdeModulePkg/Core/Pei/PeiMain.h
+++ b/MdeModulePkg/Core/Pei/PeiMain.h
@@ -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:
diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf
index d8db002ea8..1760081cd3 100644
--- a/MdeModulePkg/Core/Pei/PeiMain.inf
+++ b/MdeModulePkg/Core/Pei/PeiMain.inf
@@ -87,7 +87,6 @@
[Guids]
gPeiAprioriFileNameGuid
gEfiFirmwareFileSystem2Guid
- gEfiPeiPeCoffLoaderGuid
[Ppis]
gEfiPeiSecurityPpiGuid # PPI_NOTIFY SOMETIMES_CONSUMED