]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check
authorDandan Bi <dandan.bi@intel.com>
Fri, 3 Nov 2017 08:34:25 +0000 (16:34 +0800)
committerStar Zeng <star.zeng@intel.com>
Tue, 7 Nov 2017 02:02:51 +0000 (10:02 +0800)
commit8182e9f446882c421ae7b2b6e456642cee644d8b
tree15ffd040038f6692f79a9e1ca8a5d1fe3bf37fb0
parentc9a7f34356c12c873d1737b7d3366fc7e1cadd50
MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check

V3:
(1) Reset QuestionStoredInBitField to FALSE at end opcode(EFI_IFR_END_OP)
(2) Fix typo and format issues(line alignment for debug print message
and value assignment...)

V2:
(1)Remove the VarOffsetBitLevel/StorageWidthBitLevel to reduce the final
VarCheckBinSize and update the implementation accordingly.
(2)Update the VAR_CHECK_HII_REVISION
(3)Refine the Debug message and function comments,like update oneof",
"checkbox", "numeric" to "OneOf", "CheckBox", "Numeric".

VarCheckHiiLib check the value set to storage based on the possible value
listed in the vfr file. Since we have enhanced vfr to support Question
value stored in bit field, so now enhance VarCheckHiiLib to support bit
field check.

Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Library/VarCheckHiiLib/InternalVarCheckStructure.h
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHii.h
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf
MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLibNullClass.c