diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr index 5306950fb3..ca28901fd4 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr @@ -266,7 +266,7 @@ formset goto FORMID_SECURE_BOOT_OPTION_FORM, prompt = STRING_TOKEN(STR_SAVE_AND_EXIT), help = STRING_TOKEN(STR_SAVE_AND_EXIT), - flags = INTERACTIVE, + flags = INTERACTIVE | RESET_REQUIRED, key = KEY_VALUE_SAVE_AND_EXIT_KEK; goto FORMID_SECURE_BOOT_OPTION_FORM, @@ -470,7 +470,7 @@ formset goto FORMID_SECURE_BOOT_OPTION_FORM, prompt = STRING_TOKEN(STR_SAVE_AND_EXIT), help = STRING_TOKEN(STR_SAVE_AND_EXIT), - flags = INTERACTIVE, + flags = INTERACTIVE | RESET_REQUIRED, key = KEY_VALUE_SAVE_AND_EXIT_DB; goto FORMID_SECURE_BOOT_OPTION_FORM, @@ -564,7 +564,7 @@ formset goto FORMID_SECURE_BOOT_OPTION_FORM, prompt = STRING_TOKEN(STR_SAVE_AND_EXIT), help = STRING_TOKEN(STR_SAVE_AND_EXIT), - flags = INTERACTIVE, + flags = INTERACTIVE | RESET_REQUIRED, key = KEY_VALUE_SAVE_AND_EXIT_DBX; goto FORMID_SECURE_BOOT_OPTION_FORM, @@ -609,7 +609,7 @@ formset goto FORMID_SECURE_BOOT_OPTION_FORM, prompt = STRING_TOKEN(STR_SAVE_AND_EXIT), help = STRING_TOKEN(STR_SAVE_AND_EXIT), - flags = INTERACTIVE, + flags = INTERACTIVE | RESET_REQUIRED, key = KEY_VALUE_SAVE_AND_EXIT_DBT; goto FORMID_SECURE_BOOT_OPTION_FORM, diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c index 91be624977..dc2cfe3e5a 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c @@ -2514,7 +2514,7 @@ UpdateDeletePage ( 0, GuidID, Help, - EFI_IFR_FLAG_CALLBACK, + EFI_IFR_FLAG_CALLBACK | EFI_IFR_FLAG_RESET_REQUIRED, 0, NULL ); @@ -3579,7 +3579,7 @@ LoadSignatureList ( DstFormId, STRING_TOKEN (STR_SECURE_BOOT_DELETE_ALL_LIST), STRING_TOKEN (STR_SECURE_BOOT_DELETE_ALL_LIST), - EFI_IFR_FLAG_CALLBACK, + EFI_IFR_FLAG_CALLBACK | EFI_IFR_FLAG_RESET_REQUIRED, KEY_SECURE_BOOT_DELETE_ALL_LIST ); @@ -3651,7 +3651,7 @@ LoadSignatureList ( SECUREBOOT_DELETE_SIGNATURE_DATA_FORM, HiiSetString (PrivateData->HiiHandle, 0, NameBuffer, NULL), HiiSetString (PrivateData->HiiHandle, 0, HelpBuffer, NULL), - EFI_IFR_FLAG_CALLBACK, + EFI_IFR_FLAG_CALLBACK | EFI_IFR_FLAG_RESET_REQUIRED, QuestionIdBase + Index++ );