]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/SetupBrowser: Record the reset status in all SendForm
authorBi, Dandan <dandan.bi@intel.com>
Fri, 21 Jul 2017 08:56:01 +0000 (16:56 +0800)
committerLiming Gao <liming.gao@intel.com>
Thu, 27 Jul 2017 02:47:11 +0000 (10:47 +0800)
commitb2dcae4c57b01c6b30ad8c074b390e55867504f7
tree2c5387964ffec366d2b4902200efb16fe39a9e5e
parent1d8701a20e02f8c2c3ca66bb643d45d7d6779fd1
MdeModulePkg/SetupBrowser: Record the reset status in all SendForm

After calling SendForm to enter front page, configuration change in some
driver may require system reset. Currently the reset status is saved in
SendForm level. Then SendForm can return the reset status.
IsResetRequired API also can return the reset status before exiting browser.
It return the reset status in current SendForm level now. But SendForm can
be recursive called by some module.so the reset status in previous SendForm
may be lost. Now change the IsResetRequired API to return the reset info no
matter the reset is caught in any SendForm.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
MdeModulePkg/Universal/SetupBrowserDxe/Setup.h