From 0357efe3f564bed2e20e4dfad6496bf6db179747 Mon Sep 17 00:00:00 2001 From: sfu5 Date: Fri, 14 Sep 2012 07:28:37 +0000 Subject: [PATCH] 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 --- .../SecureBootConfigDxe/SecureBootConfigImpl.c | 7 +++++++ 1 file changed, 7 insertions(+) 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; } -- 2.39.2