]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
Add a dialog box with help message when user changes the state of "Attempt Secure...
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / SecureBootConfigDxe / SecureBootConfigImpl.c
index eed2c2c138faf6562cae166893855a71c5244036..c56a3117604acecc2a59a64303b586b890de8a9a 100644 (file)
@@ -2396,6 +2396,13 @@ SecureBootCallback (
             NULL\r
             );\r
           Status = EFI_UNSUPPORTED;\r
+        } else {\r
+          CreatePopUp (\r
+            EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE,\r
+            &Key,\r
+            L"Secure boot configuration is changed, please reset the platform to take effect!",\r
+            NULL\r
+            );\r
         }\r
         *ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY; \r
       }\r