From: sfu5 Date: Fri, 14 Sep 2012 07:28:37 +0000 (+0000) Subject: Add a dialog box with help message when user changes the state of "Attempt Secure... X-Git-Tag: edk2-stable201903~13047 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=0357efe3f564bed2e20e4dfad6496bf6db179747 Add a dialog box with help message when user changes the state of "Attempt Secure Boot" check box. Signed-off-by: Fu Siyuan Reviewed-by: Ye Ting Reviewed-by: Dong Guo git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13733 6f19259b-4bc3-4df7-8a09-765794883524 --- 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; }