diff options
-rw-r--r-- | MdeModulePkg/Library/VarCheckLib/VarCheckLib.c | 7 | ||||
-rw-r--r-- | MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/VarCheckLib/VarCheckLib.c b/MdeModulePkg/Library/VarCheckLib/VarCheckLib.c index 60c141a6b9..41b209da16 100644 --- a/MdeModulePkg/Library/VarCheckLib/VarCheckLib.c +++ b/MdeModulePkg/Library/VarCheckLib/VarCheckLib.c @@ -80,6 +80,13 @@ VARIABLE_ENTRY_PROPERTY mVarCheckVariableWithWildcardName[] = { },
},
{
+ &gEfiGlobalVariableGuid,
+ L"PlatformRecovery####",
+ {
+ 0
+ },
+ },
+ {
&gEfiHardwareErrorVariableGuid,
L"HwErrRec####",
{
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
+ },
};
//
|