]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/FwVol/FwVol.c
MdeModulePkg Core: Propagate PEI-phase FV authentication status to DXE
[mirror_edk2.git] / MdeModulePkg / Core / Pei / FwVol / FwVol.c
index c90a70b5f7995fdd18ef34a46e5a8a6e3728ec71..3da90f95312d0172dac6721317e173859115a20c 100644 (file)
@@ -1452,6 +1452,18 @@ ProcessFvFile (
     &FileInfo.FileName\r
     );\r
 \r
+  //\r
+  // Build FV3 HOB with authentication status to be propagated to DXE.\r
+  //\r
+  BuildFv3Hob (\r
+    (EFI_PHYSICAL_ADDRESS) (UINTN) FvHeader,\r
+    FvHeader->FvLength,\r
+    AuthenticationStatus,\r
+    TRUE,\r
+    &ParentFvImageInfo.FvName,\r
+    &FileInfo.FileName\r
+    );\r
+\r
   return EFI_SUCCESS;\r
 }\r
 \r