]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Browser: Share default if some default value are not specified
authorDandan Bi <dandan.bi@intel.com>
Wed, 10 Aug 2016 11:54:21 +0000 (19:54 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 11 Aug 2016 07:36:44 +0000 (15:36 +0800)
commit7559672687b560e363a8849e13ec29491f2fbef9
tree510665c27d2f991c2edaec6096c9e865b03e0d29
parent22f63ff641ae52019f5061fa20bcfdbb187eff62
MdeModulePkg/Browser: Share default if some default value are not specified

Add a new implementation policy of getting default value in SetupBrowser.
The new policy is only for the situation that a question has default
value but doesn't have default value for all supported default type.
In this case, we will choose the smallest default id from the existing
defaults, and share its value to other default id which has no
default value.

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