audk/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe
Ming Tan ee28bea4c0 SecurityPkg/SecureBootConfigDxe: Update UI according to UEFI spec
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4713

In UEFI_Spec_2_10_Aug29.pdf page 1694 section 35.5.4 for
EFI_BROWSER_ACTION_FORM_OPEN:
NOTE: EFI_FORM_BROWSER2_PROTOCOL.BrowserCallback() cannot be used with
this browser action because question values have not been retrieved yet.

So should not call HiiGetBrowserData() and HiiSetBrowserData() in FORM_OPEN
call back function.

Now call SecureBootExtractConfigFromVariable() and update
IfrNvData->ListCount to save the change to EFI variable, then HII use EFI
variable to control the UI.

Cc: Min Xu <min.m.xu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Felix Polyudov <Felixp@ami.com>
Signed-off-by: Ming Tan <ming.tan@intel.com>
Reviewed-by: Felix Polyudov <Felixp@ami.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Acked-by: Jiewen Yao <jiewen.yao@intel.com>
2024-04-07 02:48:24 +00:00
..
SecureBootConfig.vfr SecurityPkg: Add option to reset secure boot keys. 2021-08-03 07:26:41 +00:00
SecureBootConfigDevicePath.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SecureBootConfigDriver.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SecureBootConfigDxe.inf SecurityPkg/SecureBoot: Support RSA4096 and RSA3072 2023-09-07 06:12:18 +00:00
SecureBootConfigDxe.uni SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
SecureBootConfigDxeExtra.uni SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00
SecureBootConfigFileExplorer.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SecureBootConfigImpl.c SecurityPkg/SecureBootConfigDxe: Update UI according to UEFI spec 2024-04-07 02:48:24 +00:00
SecureBootConfigImpl.h SecurityPkg/SecureBoot: Support RSA4096 and RSA3072 2023-09-07 06:12:18 +00:00
SecureBootConfigMisc.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SecureBootConfigNvData.h SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SecureBootConfigStrings.uni SecurityPkg/SecureBoot: Support RSA4096 and RSA3072 2023-09-07 06:12:18 +00:00