Reset the platform when user choose to enroll/delete the PK variable.

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
This commit is contained in:
sfu5 2012-07-09 09:17:00 +00:00
parent 25a4e71aa6
commit 0fb450fb3e
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ formset
questionid = KEY_SECURE_BOOT_DELETE_PK,
prompt = STRING_TOKEN(STR_DELETE_PK),
help = STRING_TOKEN(STR_DELETE_PK_HELP),
flags = INTERACTIVE,
flags = INTERACTIVE | RESET_REQUIRED,
endcheckbox;
endif;
endform;

View File

@ -2517,7 +2517,7 @@ SecureBootCallback (
NULL
);
} else {
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_EXIT;
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_RESET;
}
break;