]> git.proxmox.com Git - mirror_edk2.git/commit
EmbeddedPkg: Rename FfsFindSectionData as FfsFindSectionDataWithHook
authorMin M Xu <min.m.xu@intel.com>
Thu, 19 Jan 2023 01:51:07 +0000 (09:51 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 19 Jan 2023 08:35:59 +0000 (08:35 +0000)
commit0826808d4f0246f25d25fdf60c0bce8172040f41
tree5d516d01aa41d7ebab1052be7bae67d1f43b7a36
parent18df11da8c14e48b6e4a90fb0b5befb1c243070a
EmbeddedPkg: Rename FfsFindSectionData as FfsFindSectionDataWithHook

Commit c673216f53 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 in this patch. In the following
patch the original FfsFindSectionData will be added back.

FfsFindSectionData is renamed as FfsFindSectionDataWithHook. Accordingly
PeilessStartupLib in OvmfPkg should be updated as well. To prevent the
build from being broken, the changes in OvmfPkg are in this patch.

Signed-off-by: Min Xu <min.m.xu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
EmbeddedPkg/Include/Library/PrePiLib.h
EmbeddedPkg/Library/PrePiLib/FwVol.c
EmbeddedPkg/Library/PrePiLib/PrePiLib.c
OvmfPkg/Library/PeilessStartupLib/DxeLoad.c