diff options
author | Star Zeng <star.zeng@intel.com> | 2015-12-30 05:09:50 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-12-30 05:09:50 +0000 |
commit | 38eb83b89a592aefc8c0476c4d08fb8d6d71ab86 (patch) | |
tree | f09e900e3679331111f8eec0004495a825f78997 | |
parent | 14326ed0910b4bf305ef28fa3aa9cf4d313e238c (diff) | |
download | edk2-38eb83b89a592aefc8c0476c4d08fb8d6d71ab86.zip edk2-38eb83b89a592aefc8c0476c4d08fb8d6d71ab86.tar.gz edk2-38eb83b89a592aefc8c0476c4d08fb8d6d71ab86.tar.bz2 |
MdeModulePkg Variable: Add a missing variable info record
Cc: Liming Gao <liming.gao@intel.com>
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@19578 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c index 3136745..2dc3038 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c @@ -2201,6 +2201,7 @@ UpdateVariable ( // go to delete this variable in variable HOB and
// try to flush other variables from HOB to flash.
//
+ UpdateVariableInfo (VariableName, VendorGuid, FALSE, FALSE, FALSE, TRUE, FALSE);
FlushHobVariableToFlash (VariableName, VendorGuid);
return EFI_SUCCESS;
}
|