audk/SecurityPkg
Star Zeng 039a40aa3b SecurityPkg: Variable drivers robustly handle crashes during Reclaim().
PEI variable implementation checks only the variable header signature for validity. This does not seem robust if system crash occurred during previous Reclaim() operation. If the crash occurred while FTW was rewriting the variable FV, the signature could be valid even though the rest of the FV isn't valid.
Solution: PEI variable and early phase(before FTW protocol ready) of DXE variable can check the FTW last write status provided by FaultTolerantWritePei and determine if all or partial variable data has been backed up in spare block, and then use the backed up data.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14455 6f19259b-4bc3-4df7-8a09-765794883524
2013-07-03 09:09:42 +00:00
..
Application/VariableInfo Clean up the private GUID definition in module Level. 2011-09-18 12:25:27 +00:00
Include Fix coding style issue 2012-11-28 08:49:21 +00:00
Library Fix a bug that “SecureBoot” varaible will be updated to NV+AT attribute incorrectly. 2013-05-17 08:05:01 +00:00
Tcg Fix overflow issue in TcgProtocol 2013-06-06 00:39:41 +00:00
UserIdentification Fixed build failed. 2012-05-31 08:35:48 +00:00
VariableAuthenticated SecurityPkg: Variable drivers robustly handle crashes during Reclaim(). 2013-07-03 09:09:42 +00:00
Contributions.txt EDK II Packages: Add Contributions.txt and License.txt files 2012-04-11 23:19:46 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
SecurityPkg.dec Rename Trusted Hob to Measured FV hob and add Guided Hob layout structure 2012-09-28 00:57:02 +00:00
SecurityPkg.dsc Update Code to pass EBC compiler. 2013-05-13 02:36:09 +00:00