\r
**/\r
\r
-#include <PeiMain.h>\r
+#include "PeiMain.h"\r
\r
-STATIC EFI_PEI_NOTIFY_DESCRIPTOR mNotifyOnFvInfoList = {\r
+EFI_PEI_NOTIFY_DESCRIPTOR mNotifyOnFvInfoList = {\r
(EFI_PEI_PPI_DESCRIPTOR_NOTIFY_CALLBACK | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),\r
&gEfiPeiFirmwareVolumeInfoPpiGuid,\r
FirmwareVolmeInfoPpiNotifyCallback \r
//\r
PrivateData->AllFv[PrivateData->AllFvCount++] = (EFI_PEI_FV_HANDLE)Fv->FvInfo;\r
\r
- DEBUG ((EFI_D_INFO, "The %dth FvImage start address is 0x%11p and size is 0x%08x\n", PrivateData->AllFvCount, (VOID *) Fv->FvInfo, Fv->FvInfoSize));\r
+ DEBUG ((EFI_D_INFO, "The %dth FvImage start address is 0x%11p and size is 0x%08x\n", (UINT32)PrivateData->AllFvCount, (VOID *) Fv->FvInfo, Fv->FvInfoSize));\r
//\r
// Preprocess all FV type files in this new FileSystem2 Fv image\r
//\r
// If Not Found, Install FvInfo Ppi for it.\r
//\r
if (!Match) {\r
- PiLibInstallFvInfoPpi (\r
+ PeiServicesInstallFvInfoPpi (\r
NULL,\r
(VOID *)(UINTN)FvHob->BaseAddress,\r
(UINT32)FvHob->Length,\r
//\r
// Install FvPpi and Build FvHob\r
//\r
- PiLibInstallFvInfoPpi (\r
+ PeiServicesInstallFvInfoPpi (\r
NULL,\r
FvImageInfo.FvStart,\r
(UINT32) FvImageInfo.FvSize,\r