Skip to content
Commit b2dcae4c authored by Bi, Dandan's avatar Bi, Dandan Committed by Liming Gao
Browse files

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: default avatarDandan Bi <dandan.bi@intel.com>
Reviewed-by: default avatarLiming Gao <liming.gao@intel.com>
parent 1d8701a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment