Library: Fixed ImageOrigin types.

This commit is contained in:
Mikhail Krichanov 2023-11-24 09:42:11 +03:00
parent 8c3970100d
commit c65fb5bbfd
3 changed files with 4 additions and 4 deletions

View File

@ -297,7 +297,7 @@ OcImageLoaderLoad (
SourceBuffer,
(UINT32)SourceSize,
UEFI_IMAGE_SOURCE_FV,
UefiImageOriginFv
UefiImageOriginUserImage
);
if (EFI_ERROR (ImageStatus)) {
DEBUG ((DEBUG_INFO, "OCB: PeCoff init failure - %r\n", ImageStatus));

View File

@ -467,7 +467,7 @@ PeCoffVerifyAppleSignature (
&ImageContext,
PeImage,
*ImageSize,
UefiImageOriginFv
UefiImageOriginUserImage
);
if (EFI_ERROR (ImageStatus)) {
DEBUG ((DEBUG_INFO, "OCPE: PeCoff verify init failure - %r\n", ImageStatus));
@ -563,7 +563,7 @@ PeCoffGetApfsDriverVersion (
&ImageContext,
DriverBuffer,
DriverSize,
UefiImageOriginFv
UefiImageOriginUserImage
);
if (EFI_ERROR (ImageStatus)) {
DEBUG ((DEBUG_INFO, "OCPE: PeCoff apfs init failure - %r\n", ImageStatus));

View File

@ -118,7 +118,7 @@ VerifySignatureAndApfs (
&Context,
Image,
ImageSize,
UefiImageOriginFv
UefiImageOriginUserImage
);
}