summaryrefslogtreecommitdiff
path: root/SecurityPkg
diff options
context:
space:
mode:
authorsfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2012-09-14 07:28:37 +0000
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2012-09-14 07:28:37 +0000
commit0357efe3f564bed2e20e4dfad6496bf6db179747 (patch)
treef29630b20c08df96ee2b8ac427e0e2bbcadcd5b6 /SecurityPkg
parentd26c7e82f2bf80dd2a64b61fee33a3f3f5e01d5a (diff)
downloadedk2-platforms-0357efe3f564bed2e20e4dfad6496bf6db179747.tar.xz
Add a dialog box with help message when user changes the state of "Attempt Secure Boot" check box.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Dong Guo <guo.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13733 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg')
-rw-r--r--SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
index eed2c2c138..c56a311760 100644
--- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
+++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
@@ -2396,6 +2396,13 @@ SecureBootCallback (
NULL
);
Status = EFI_UNSUPPORTED;
+ } else {
+ CreatePopUp (
+ EFI_LIGHTGRAY | EFI_BACKGROUND_BLUE,
+ &Key,
+ L"Secure boot configuration is changed, please reset the platform to take effect!",
+ NULL
+ );
}
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;
}