public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Dandan Bi <dandan.bi@intel.com>
To: edk2-devel@lists.01.org
Cc: Liming Gao <liming.gao@intel.com>, Eric Dong <eric.dong@intel.com>
Subject: [PATCH v2 0/2] Share default value if some default value are not specified
Date: Tue,  9 Aug 2016 09:24:56 +0800	[thread overview]
Message-ID: <1470705898-99100-1-git-send-email-dandan.bi@intel.com> (raw)

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



             reply	other threads:[~2016-08-09  1:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09  1:24 Dandan Bi [this message]
2016-08-09  1:24 ` [PATCH v2 1/2] MdeModulePkg/HiiDB: Share default if some default value are not specified 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470705898-99100-1-git-send-email-dandan.bi@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox