diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c index 01ca55a178..b2f5572327 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c @@ -403,6 +403,17 @@ UEFI_DEFINED_VARIABLE_ENTRY mGlobalVariableList[] = { }, InternalVarCheckSizeArray }, + { + EFI_SYS_PREP_ORDER_VARIABLE_NAME, + { + VAR_CHECK_VARIABLE_PROPERTY_REVISION, + 0, + VARIABLE_ATTRIBUTE_NV_BS_RT, + sizeof (UINT16), + MAX_UINTN + }, + InternalVarCheckSizeArray + }, { EFI_HW_ERR_REC_SUPPORT_VARIABLE_NAME, { @@ -581,6 +592,17 @@ UEFI_DEFINED_VARIABLE_ENTRY mGlobalVariableList2[] = { }, InternalVarCheckLoadOption }, + { + L"SysPrep####", + { + VAR_CHECK_VARIABLE_PROPERTY_REVISION, + 0, + VARIABLE_ATTRIBUTE_NV_BS_RT, + sizeof (UINT32) + sizeof (UINT16), + MAX_UINTN + }, + InternalVarCheckLoadOption + }, { L"Key####", {