summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-04-13 16:47:25 +0800
committerStar Zeng <star.zeng@intel.com>2016-04-19 17:53:59 +0800
commit74e8963c9b661eaa4e828b0ad2d8925e1622ac49 (patch)
tree26f3de507d73e5ab6d790a183d6cd22a6c8e8901 /BaseTools
parent9b72af13e294600faa6819c63b3808d5c3803275 (diff)
downloadedk2-platforms-74e8963c9b661eaa4e828b0ad2d8925e1622ac49.tar.xz
MdeModulePkg/HiiDatabaseDxe: Support EfiVarStore to get AltCfg from Driver
Allow EfiVarStore to get <AltResp> from Hii Driver, and enhance code logic in MergeDefaultString function to get a full AltCfgResp. The logic in function MergeDefaultString after enhancement: (1) If there are no <AltResp> in AltCfgResp, merge the <AltResp> in DefaultAltCfgResp to AltCfgResp. (2) If there are <AltResp> in AltCfgResp, for the same <AltConfigHdr>, if the <ConfigElement> already in AltCfgResp, don't need to merge from DefaultAltCfgResp, else merge the <ConfigElement> in the DefaultAltCfgResp to the related <AltResp> in AltCfgResp. AltCfgResp: Generated by Driver. DefaultAltCfgResp: Generated by HiiDatabase. 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>
Diffstat (limited to 'BaseTools')
0 files changed, 0 insertions, 0 deletions