]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg: SecureBootConfigDxe: Enhance secure boot string update logic
authorChao Zhang <chao.b.zhang@intel.com>
Fri, 15 Jan 2016 01:06:51 +0000 (01:06 +0000)
committerczhang46 <czhang46@Edk2>
Fri, 15 Jan 2016 01:06:51 +0000 (01:06 +0000)
commit02dd6af921a39adc2097ebfcd2b8d4b1ec82e0db
tree37693b7221da5eb7ad40e8c7c4a04fa395466368
parent668ceb0ea17b882bc7b28e8f25ea84ecbbe56c7d
SecurityPkg: SecureBootConfigDxe: Enhance secure boot string update logic

ExtractConfig is called many times, so it's not efficient to update Secure Boot STR_SECURE_BOOT_STATE_CONTENT, STR_CUR_SECURE_BOOT_MODE_CONTENT string in ExtractConfig.
As these 2 strings are displayed on one form, always update them when opening the form.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19645 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c