]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag...
authorStar Zeng <star.zeng@intel.com>
Mon, 2 Feb 2015 08:39:26 +0000 (08:39 +0000)
committerlzeng14 <lzeng14@Edk2>
Mon, 2 Feb 2015 08:39:26 +0000 (08:39 +0000)
And leave the variable error flag in NV flash as the last boot variable error flag.
After EndOfDxe in InitializeVarErrorFlag (), the variable error flag in NV flash
will be initialized to this local current boot variable error flag.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16686 6f19259b-4bc3-4df7-8a09-765794883524

SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c

index 83d69899f705e936e6b4c27a1230bbf83c529adf..32a218022dc98b7f50fdce329927ba0f4e27c55e 100644 (file)
@@ -63,6 +63,8 @@ BOOLEAN                mEnableLocking         = TRUE;
 //\r
 VAR_ERROR_FLAG         mCurrentBootVarErrFlag = VAR_ERROR_FLAG_NO_ERROR;\r
 \r
+/**\r
+\r
   SecureBoot Hook for auth variable update.\r
 \r
   @param[in] VariableName                 Name of Variable to be found.\r