public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Share default value if some default value are not specified
@ 2016-08-09  1:24 Dandan Bi
  2016-08-09  1:24 ` [PATCH v2 1/2] MdeModulePkg/HiiDB: Share default " Dandan Bi
  2016-08-09  1:24 ` [PATCH v2 2/2] MdeModulePkg/Browser: " Dandan Bi
  0 siblings, 2 replies; 5+ messages in thread
From: Dandan Bi @ 2016-08-09  1:24 UTC (permalink / raw)
  To: edk2-devel; +Cc: Liming Gao, Eric Dong

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.

Notes:
v1->V2:
-Patch 1: Clarify that when the type of DefaultValueData is DefaultValueFromOtherDefault, it can be overrode by itself.
-Patch 2: Generate DefaultStoreList as ascending order directly instead of using function GetDefaultIdArray().

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       | 116 ++++++++++++++++++---
 .../Universal/HiiDatabaseDxe/HiiDatabase.h         |   2 +
 MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c  |  25 ++++-
 MdeModulePkg/Universal/SetupBrowserDxe/Setup.c     |  23 +++-
 4 files changed, 145 insertions(+), 21 deletions(-)

-- 
1.9.5.msysgit.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-10 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-09  1:24 [PATCH v2 0/2] Share default value if some default value are not specified Dandan Bi
2016-08-09  1:24 ` [PATCH v2 1/2] MdeModulePkg/HiiDB: Share default " Dandan Bi
2016-08-10 10:02   ` Gao, Liming
2016-08-09  1:24 ` [PATCH v2 2/2] MdeModulePkg/Browser: " Dandan Bi
2016-08-10 12:26   ` Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox