]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Reset the platform when user choose to enroll/delete the PK variable.
authorsfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 9 Jul 2012 09:17:00 +0000 (09:17 +0000)
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 9 Jul 2012 09:17:00 +0000 (09:17 +0000)
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13515 6f19259b-4bc3-4df7-8a09-765794883524

SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c

index 4e790634da981c12180d32fed7a47be63b63f461..df7ff37a86d49886dd3728a0e337adbc5ee5fc26 100644 (file)
@@ -158,7 +158,7 @@ formset
           questionid = KEY_SECURE_BOOT_DELETE_PK,\r
           prompt = STRING_TOKEN(STR_DELETE_PK),          \r
           help   = STRING_TOKEN(STR_DELETE_PK_HELP),\r
-          flags  = INTERACTIVE,\r
+          flags  = INTERACTIVE | RESET_REQUIRED,\r
     endcheckbox;\r
     endif;\r
   endform;\r
index 26fc09d52d2788a9d564bd97716556bda628d2b1..a680473a7d49109e8dc10d23fee0900964483c12 100644 (file)
@@ -2517,7 +2517,7 @@ SecureBootCallback (
           NULL\r
           );\r
       } else {\r
-        *ActionRequest = EFI_BROWSER_ACTION_REQUEST_EXIT; \r
+        *ActionRequest = EFI_BROWSER_ACTION_REQUEST_RESET; \r
       }        \r
       break;\r
 \r