Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: c82ab4d8c148c4009e0b31d1dd2ea6f7d4aea80d
      
https://github.com/tianocore/edk2/commit/c82ab4d8c148c4009e0b31d1dd2ea6f7d4aea80d
  Author: Huang, Long1 <long1.hu...@intel.com>
  Date:   2021-12-09 (Thu, 09 Dec 2021)

  Changed paths:
    M BaseTools/Source/C/VfrCompile/VfrFormPkg.h
    M BaseTools/Source/C/VfrCompile/VfrSyntax.g

  Log Message:
  -----------
  BaseTools/VfrCompile: Correct Bit Field Flags for numeric/one of

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3752

Add Bit mask to numeric/one of opcode to set correctly Flags for Bit Field.
VfrSyntax.g: Set "LFlags &= EDKII_IFR_DISPLAY_BIT" before "LFlags |= 
(EDKII_IFR_NUMERIC_SIZE_BIT & (_GET_CURRQEST_VARSIZE()));"
VfrFormPkg.h: update "if (LFlags & EFI_IFR_DISPLAY)" with "if (LFlags & 
EDKII_IFR_DISPLAY_BIT)" in SetFlagsForBitField()

Cc: Bob Feng <bob.c.f...@intel.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.c...@intel.com>
Cc: Dandan Bi <dandan...@intel.com>

Signed-off-by: Long1 Huang <long1.hu...@intel.com>
Reviewed-by: Dandan Bi <dandan...@intel.com>




_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to