diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2015-11-17 10:16:02 +0000 |
---|---|---|
committer | niruiyu <niruiyu@Edk2> | 2015-11-17 10:16:02 +0000 |
commit | 51b655a8a05a622d83ceec91c59f0bf631e65f4b (patch) | |
tree | f8e0f7314d4d26b545c63754beb087d13eddc659 /MdeModulePkg/Library/VarCheckUefiLib | |
parent | 68456d8ac1949318bfdad9d8b096d98448469a9d (diff) | |
download | edk2-platforms-51b655a8a05a622d83ceec91c59f0bf631e65f4b.tar.xz |
MdeModulePkg/VarCheck: Add VarCheck handler for PlatformRecovery####
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18864 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/VarCheckUefiLib')
-rw-r--r-- | MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c b/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c index 15144bd4c0..296d17b3b7 100644 --- a/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c +++ b/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c @@ -604,6 +604,17 @@ UEFI_DEFINED_VARIABLE_ENTRY mGlobalVariableList2[] = { },
InternalVarCheckKeyOption
},
+ {
+ L"PlatformRecovery####",
+ {
+ VAR_CHECK_VARIABLE_PROPERTY_REVISION,
+ 0,
+ VARIABLE_ATTRIBUTE_BS_RT,
+ sizeof (UINT32) + sizeof (UINT16),
+ MAX_UINTN
+ },
+ InternalVarCheckLoadOption
+ },
};
//
|