From e608bcf48a4d633c40e2ee52b0acfa9eddf8b09e Mon Sep 17 00:00:00 2001 From: Mikhail Krichanov Date: Thu, 16 Nov 2023 15:06:15 +0300 Subject: [PATCH] SecurePE: Fixed compilation. --- EmbeddedPkg/Library/PrePiLib/PrePiLib.c | 3 ++- UefiCpuPkg/SecCore/FindPeiCore.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/EmbeddedPkg/Library/PrePiLib/PrePiLib.c b/EmbeddedPkg/Library/PrePiLib/PrePiLib.c index 9826e9493e..c94dc0d45a 100644 --- a/EmbeddedPkg/Library/PrePiLib/PrePiLib.c +++ b/EmbeddedPkg/Library/PrePiLib/PrePiLib.c @@ -44,7 +44,8 @@ LoadUefiImage ( &ImageContext, UefiImage, UefiImageSize, - UEFI_IMAGE_SOURCE_FV + UEFI_IMAGE_SOURCE_FV, + UefiImageOriginFv ); ASSERT_EFI_ERROR (Status); diff --git a/UefiCpuPkg/SecCore/FindPeiCore.c b/UefiCpuPkg/SecCore/FindPeiCore.c index 41cd4e8e65..2b73c07880 100644 --- a/UefiCpuPkg/SecCore/FindPeiCore.c +++ b/UefiCpuPkg/SecCore/FindPeiCore.c @@ -201,7 +201,8 @@ FindAndReportEntryPoints ( &ImageContext, (VOID*)(UINTN)PeiCoreImageBase, PeiCoreImageSize, - UEFI_IMAGE_SOURCE_FV + UEFI_IMAGE_SOURCE_FV, + UefiImageOriginFv ); ASSERT_EFI_ERROR (Status);