mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
c4b5cc4318
commit
db3c5441b1
|
@ -63,6 +63,8 @@ BOOLEAN mEnableLocking = TRUE;
|
||||||
//
|
//
|
||||||
VAR_ERROR_FLAG mCurrentBootVarErrFlag = VAR_ERROR_FLAG_NO_ERROR;
|
VAR_ERROR_FLAG mCurrentBootVarErrFlag = VAR_ERROR_FLAG_NO_ERROR;
|
||||||
|
|
||||||
|
/**
|
||||||
|
|
||||||
SecureBoot Hook for auth variable update.
|
SecureBoot Hook for auth variable update.
|
||||||
|
|
||||||
@param[in] VariableName Name of Variable to be found.
|
@param[in] VariableName Name of Variable to be found.
|
||||||
|
|
Loading…
Reference in New Issue