]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Browser: Enhance the logic when getting value from AltResp
authorDandan Bi <dandan.bi@intel.com>
Thu, 4 Aug 2016 08:58:14 +0000 (16:58 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 12 Aug 2016 05:53:12 +0000 (13:53 +0800)
commitf358703983c37c388479d0ff78a9f26b211e151f
tree79bd27ae6315b9eff3b3ff737e481d2fbdad01f3
parent753cf34e29c52bb45d25eb0580e04145f19cd83d
MdeModulePkg/Browser: Enhance the logic when getting value from AltResp

This patch is to enhance SetupBrowser to handle following two cases:
1. When searching BlockName in AltResp, the hex digits of related BlockName
   in AltResp may be in uppercase.
2. When converting the Value in AltResp to HiiValue, the length of value
   string is bigger than the length of StorageWidth of the question.

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>
MdeModulePkg/Universal/SetupBrowserDxe/Setup.c