]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/HiiDB: Share default if some default value are not specified
authorDandan Bi <dandan.bi@intel.com>
Thu, 28 Jul 2016 06:19:39 +0000 (14:19 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 11 Aug 2016 07:36:43 +0000 (15:36 +0800)
commit22f63ff641ae52019f5061fa20bcfdbb187eff62
treed2b066937c933ec5aeeabc3648f527d99a106894
parent210abffdca9015986a78d883647c85706fc39ee3
MdeModulePkg/HiiDB: Share default if some default value are not specified

Add a new implementation policy of getting default value in HiiDatabase.
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/HiiDatabaseDxe/ConfigRouting.c
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h