Commit c673216 introduces FFS_CHECK_SECTION_HOOK and add it as the second input parameter in FfsFindSectionData. This change breaks the build of ArmVirtPkg. To fix this issue, the new version of FfsFindSectionData is renamed as FfsFindSectionDataWithHook. Then the original FfsFindSectionData is added back.
After FfsFindSectionData is renamed as FfsFindSectionDataWithHook, PeilessStartupLib in OvmfPkg is updated as well. Cc: Leif Lindholm <quic_llind...@quicinc.com> Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> Cc: Abner Chang <abner.ch...@amd.com> Cc: Daniel Schaefer <g...@danielschaefer.me> Cc: Gerd Hoffmann <kra...@redhat.com> Cc: Erdem Aktas <erdemak...@google.com> Cc: James Bottomley <j...@linux.ibm.com> Cc: Jiewen Yao <jiewen....@intel.com> Cc: Tom Lendacky <thomas.lenda...@amd.com> Signed-off-by: Min Xu <min.m...@intel.com> Min M Xu (2): EmbeddedPkg: Rename FfsFindSectionData as FfsFindSectionDataWithHook EmbeddedPkg: Add back FfsFindSectionData EmbeddedPkg/Include/Library/PrePiLib.h | 22 +++++++++++++- EmbeddedPkg/Library/PrePiLib/FwVol.c | 33 ++++++++++++++++++--- EmbeddedPkg/Library/PrePiLib/PrePiLib.c | 2 +- OvmfPkg/Library/PeilessStartupLib/DxeLoad.c | 4 +-- 4 files changed, 53 insertions(+), 8 deletions(-) -- 2.29.2.windows.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98841): https://edk2.groups.io/g/devel/message/98841 Mute This Topic: https://groups.io/mt/96369498/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-