mirror of https://github.com/acidanthera/audk.git
0) Change the PEI core behavior to not install FV HOB for each FV INFO PPI installed. This allows more freedom to platform developer to choose to expose which FV to PEI core or DXE core.
1) Split MdePkg/Include/Library/PiLib.h to DxePiLib.h and PeiPiLib.h. These two library classes are for DXE phase and PEI phase. 2) Update the API names in DxePiLib and PeiPiLib to be longer ones to be more meaningfull and to avoid name collisions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4066 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
dc4d9c37c4
commit
10dde96f95
|
@ -345,13 +345,22 @@ DxeIplAddEncapsulatedFirmwareVolumes (
|
|||
//
|
||||
PeiServicesFfsGetVolumeInfo (&VolumeHandle, &VolumeInfo);
|
||||
|
||||
PeiPiLibBuildPiFvInfoPpi (
|
||||
(EFI_PHYSICAL_ADDRESS) (UINTN) FvHeader,
|
||||
FvHeader->FvLength,
|
||||
PiLibInstallFvInfoPpi (
|
||||
NULL,
|
||||
FvHeader,
|
||||
(UINT32) FvHeader->FvLength,
|
||||
&(VolumeInfo.FvName),
|
||||
&(((EFI_FFS_FILE_HEADER*)FileHandle)->Name)
|
||||
);
|
||||
|
||||
//
|
||||
// Inform HOB consumer phase, i.e. DXE core, the existance of this FV
|
||||
//
|
||||
BuildFvHob (
|
||||
(EFI_PHYSICAL_ADDRESS) (UINTN) FvHeader,
|
||||
FvHeader->FvLength
|
||||
);
|
||||
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
//
|
||||
|
|
|
@ -379,7 +379,6 @@ Returns:
|
|||
}
|
||||
}
|
||||
PrivateData->Fv[PrivateData->FvCount++].FvHeader = (EFI_FIRMWARE_VOLUME_HEADER*)Fv->FvInfo;
|
||||
BuildFvHob ((EFI_PHYSICAL_ADDRESS) (UINTN) Fv->FvInfo, (UINT64) Fv->FvInfoSize);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue