From 8cfead2839aa1d2f124cb62961f679c49b1763b6 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Fri, 27 Jan 2023 13:49:39 -0700 Subject: [PATCH] SecureBootConfig: Add text key to perform the actions Signed-off-by: Tim Crawford --- .../SecureBootConfigDxe/SecureBootConfig.vfr | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr index 2acfe02e69..d8c55346fa 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr @@ -69,6 +69,12 @@ formset subtitle text = STRING_TOKEN(STR_ENABLE_NOTICE); subtitle text = STRING_TOKEN(STR_NULL); + text + help = STRING_TOKEN(STR_NULL), + text = STRING_TOKEN(STR_ENABLE_SELECTION), + flags = INTERACTIVE, + key = KEY_SECURE_BOOT_STATE_ENABLE; + goto SECUREBOOT_CONFIGURATION_FORM_ID, prompt = STRING_TOKEN(STR_CANCEL), help = STRING_TOKEN(STR_NULL); @@ -80,6 +86,12 @@ formset subtitle text = STRING_TOKEN(STR_DISABLE_NOTICE); subtitle text = STRING_TOKEN(STR_NULL); + text + help = STRING_TOKEN(STR_NULL), + text = STRING_TOKEN(STR_DISABLE_SELECTION), + flags = INTERACTIVE, + key = KEY_SECURE_BOOT_STATE_DISABLE; + goto SECUREBOOT_CONFIGURATION_FORM_ID, prompt = STRING_TOKEN(STR_CANCEL), help = STRING_TOKEN(STR_NULL); @@ -91,6 +103,12 @@ formset subtitle text = STRING_TOKEN(STR_DELETE_KEYS_NOTICE); subtitle text = STRING_TOKEN(STR_NULL); + text + help = STRING_TOKEN(STR_NULL), + text = STRING_TOKEN(STR_DELETE_KEYS_SELECTION), + flags = INTERACTIVE, + key = KEY_DELETE_KEYS; + goto SECUREBOOT_CONFIGURATION_FORM_ID, prompt = STRING_TOKEN(STR_CANCEL), help = STRING_TOKEN(STR_NULL); @@ -102,6 +120,12 @@ formset subtitle text = STRING_TOKEN(STR_RESTORE_KEYS_NOTICE); subtitle text = STRING_TOKEN(STR_NULL); + text + help = STRING_TOKEN(STR_NULL), + text = STRING_TOKEN(STR_RESTORE_KEYS_SELECTION), + flags = INTERACTIVE, + key = KEY_RESTORE_KEYS; + goto SECUREBOOT_CONFIGURATION_FORM_ID, prompt = STRING_TOKEN(STR_CANCEL), help = STRING_TOKEN(STR_NULL);