diff options
author | Star Zeng <star.zeng@intel.com> | 2015-02-02 08:39:26 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-02-02 08:39:26 +0000 |
commit | db3c5441b1cf39577699567732eba7f97c20c214 (patch) | |
tree | a5d843e19842261661aaf255155e9057546d8286 | |
parent | c4b5cc4318f80e025196fb8fc2795184e1451661 (diff) | |
download | edk2-db3c5441b1cf39577699567732eba7f97c20c214.zip edk2-db3c5441b1cf39577699567732eba7f97c20c214.tar.gz edk2-db3c5441b1cf39577699567732eba7f97c20c214.tar.bz2 |
SecurityPkg Variable: Before EndOfDxe, just record the current boot VarErrorFlag to local variable.
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
-rw-r--r-- | SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c index 83d6989..32a2180 100644 --- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c +++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c @@ -63,6 +63,8 @@ BOOLEAN mEnableLocking = TRUE; //
VAR_ERROR_FLAG mCurrentBootVarErrFlag = VAR_ERROR_FLAG_NO_ERROR;
+/**
+
SecureBoot Hook for auth variable update.
@param[in] VariableName Name of Variable to be found.
|