From 187f1a5b3a6202bc61796260b38f8b86383d9bfc Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 13 Nov 2008 09:17:38 +0000 Subject: [PATCH] Rename PiLibInstallFvInfoPpi() to PeiServicesInstallFvInfoPpi() and remove the reference of PeiPiLib, it has been merged to PeiServicesLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6522 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Pei/FwVol/FwVol.c | 4 ++-- MdeModulePkg/Core/Pei/PeiMain.h | 1 - MdeModulePkg/Core/Pei/PeiMain.inf | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c b/MdeModulePkg/Core/Pei/FwVol/FwVol.c index ce4501c1db..f4d426cf53 100644 --- a/MdeModulePkg/Core/Pei/FwVol/FwVol.c +++ b/MdeModulePkg/Core/Pei/FwVol/FwVol.c @@ -654,7 +654,7 @@ PeiFvFindNextVolume ( // If Not Found, Install FvInfo Ppi for it. // if (!Match) { - PiLibInstallFvInfoPpi ( + PeiServicesInstallFvInfoPpi ( NULL, (VOID *)(UINTN)FvHob->BaseAddress, (UINT32)FvHob->Length, @@ -913,7 +913,7 @@ ProcessFvFile ( // // Install FvPpi and Build FvHob // - PiLibInstallFvInfoPpi ( + PeiServicesInstallFvInfoPpi ( NULL, FvImageInfo.FvStart, (UINT32) FvImageInfo.FvSize, diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b/MdeModulePkg/Core/Pei/PeiMain.h index c3102950c5..8e0cedd9b4 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.h +++ b/MdeModulePkg/Core/Pei/PeiMain.h @@ -43,7 +43,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include #include -#include #include #include diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf index cc2b1c097f..24486fe83f 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.inf +++ b/MdeModulePkg/Core/Pei/PeiMain.inf @@ -67,7 +67,6 @@ MemoryAllocationLib CacheMaintenanceLib PeCoffLib - PeiPiLib PeiServicesTablePointerLib