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 <[email protected]>
Cc: Eric Dong <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <[email protected]>

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

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to