audk/MdeModulePkg
Eugene Cohen 9ddd7d7aec MdeModulePkg PeiCore: Fix issue AuthenticationStatus is not propagated correctly
This patch fixes an issue in PEI with encapsulated FV images where the
AuthenticationStatus is not correctly propagated down to child FV
handles.  The PEI core registers for callbacks for both FvInfo and
FvInfo2 PPIs.  These callbacks process the FVs which will recurse as
necessary to find more encapsulated FVs.  (FvInfo2 is an updated PPI
that includes an AuthenticationStatus field - the original FvInfo did
not include this.)

When encapsulated FV processing occurs the PEI core installs both
FvInfo and FvInfo2 PPIs.  The original implementation installs FvInfo
first and FvInfo2 second.  As soon as the FvInfo PPI is installed the
notification callback handler immediately fires causing recursive FV
processing to occur.  Since there is no AuthenticationStatus provided
for the original FvInfo the callback assumes AuthenticationStatus is
zero (unsigned / unverified) even though the parent FV may have been
verified.

This changes the order of FvInfo and FvInfo2 installs to ensure that
the notification callback occurs for FvInfo2 first and appropriate
AuthenticationStatus data can be propagated from parent FV to child
FV.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen <eugene@hp.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18764 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-10 10:02:24 +00:00
..
Application MdeModulePkg: Update UiApp to not display itself 2015-10-23 07:28:18 +00:00
Bus MdeModulePkg: Fix a PciBusDxe hot plug bug 2015-11-03 02:34:21 +00:00
Core MdeModulePkg PeiCore: Fix issue AuthenticationStatus is not propagated correctly 2015-11-10 10:02:24 +00:00
Include MdeModulePkg:Add new API HiiGetFormSetFromHiiHandle into UefiHiiLib 2015-10-27 10:19:29 +00:00
Library MdeModulePkg:Fix a bug that HttpLib can not parse Ipv6 address correctly. 2015-11-09 03:45:23 +00:00
Logo MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
Universal MdeModulePkg/RegularExpressionDxe: Add missing PrintLib 2015-11-03 02:44:48 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg: PcdSetNxForStack: enable dynamism 2015-09-15 08:34:57 +00:00
MdeModulePkg.dsc Move Smbios measurement from TCG driver to Smbios driver. 2015-10-27 04:46:50 +00:00
MdeModulePkg.uni MdeModulePkg PiDxeS3BootScriptLib: Remove a hidden assumption. 2015-09-15 07:49:12 +00:00
MdeModulePkgExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:55:48 +00:00