[patch 0/2] Share default value if some default value are not specified


Dandan Bi
 

Add a new implementation policy of get default value in HiiDatabaseDxe
and SetupBrowserDxe.
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>

Dandan Bi (2):
MdeModulePkg/HiiDB: Share default if some default value are not specified
MdeModulePkg/Browser: Share default if some default value are not specified

.../Universal/HiiDatabaseDxe/ConfigRouting.c | 115 ++++++++++++++++++---
.../Universal/HiiDatabaseDxe/HiiDatabase.h | 2 +
MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 66 +++++++++++-
MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 5 +
4 files changed, 171 insertions(+), 17 deletions(-)

--
1.9.5.msysgit.1