MdeModulePkg Core: Propagate PEI-phase FV authentication status to DXE

FV3 HOB was introduced by new (>= 1.5) PI spec, it is intended to
be used to propagate PEI-phase FV authentication status to DXE.
This patch is to update PeiCore to build FV3 HOB with the
authentication status and DxeCore to get the authentication
status from FV3 HOB when producing FVB Protocol.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Star Zeng
2017-10-03 21:48:47 +08:00
parent e4623bd5e6
commit c60370454e
4 changed files with 72 additions and 17 deletions

View File

@@ -1452,6 +1452,18 @@ ProcessFvFile (
&FileInfo.FileName
);
//
// Build FV3 HOB with authentication status to be propagated to DXE.
//
BuildFv3Hob (
(EFI_PHYSICAL_ADDRESS) (UINTN) FvHeader,
FvHeader->FvLength,
AuthenticationStatus,
TRUE,
&ParentFvImageInfo.FvName,
&FileInfo.FileName
);
return EFI_SUCCESS;
}