]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c
MdeModulePkg/HiiDB: Handle the "&READONLY" tag in <KeywordResp> correctly
authorDandan Bi <dandan.bi@intel.com>
Mon, 5 Sep 2016 06:55:49 +0000 (14:55 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 12 Sep 2016 10:26:18 +0000 (18:26 +0800)
commit5654835bd1381dfad9483b767e55db7caaeec907
tree6ab38be7091e6ff43960a925526ab6701f19ff36
parent7d467158e095a8f231f1a65c9f7ca3627debf763
MdeModulePkg/HiiDB: Handle the "&READONLY" tag in <KeywordResp> correctly

This patch is to fix the incorrect logic when handling the "&READONLY" tag
in <KeywordResp>.
1. In UEFI spec, the "&READONLY" tag is in upper case, but using the lower
case in current codes by mistake.
2. The logic in checking the ReadOnly flag is not correct. Whether having
"&READONLY" tag must be consistent with the result of
"ExtractReadOnlyFromOpCode" function.

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/HiiDatabaseDxe/ConfigKeywordHandler.c