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
This commit is contained in:
Ruiyu Ni 2015-11-17 10:16:02 +00:00 committed by niruiyu
parent 68456d8ac1
commit 51b655a8a0
2 changed files with 18 additions and 0 deletions

View File

@ -79,6 +79,13 @@ VARIABLE_ENTRY_PROPERTY mVarCheckVariableWithWildcardName[] = {
0 0
}, },
}, },
{
&gEfiGlobalVariableGuid,
L"PlatformRecovery####",
{
0
},
},
{ {
&gEfiHardwareErrorVariableGuid, &gEfiHardwareErrorVariableGuid,
L"HwErrRec####", L"HwErrRec####",

View File

@ -604,6 +604,17 @@ UEFI_DEFINED_VARIABLE_ENTRY mGlobalVariableList2[] = {
}, },
InternalVarCheckKeyOption InternalVarCheckKeyOption
}, },
{
L"PlatformRecovery####",
{
VAR_CHECK_VARIABLE_PROPERTY_REVISION,
0,
VARIABLE_ATTRIBUTE_BS_RT,
sizeof (UINT32) + sizeof (UINT16),
MAX_UINTN
},
InternalVarCheckLoadOption
},
}; };
// //