Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: c82ab4d8c148c4009e0b31d1dd2ea6f7d4aea80d
      
https://github.com/tianocore/edk2/commit/c82ab4d8c148c4009e0b31d1dd2ea6f7d4aea80d
  Author: Huang, Long1 <[email protected]>
  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 <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Yuwei Chen <[email protected]>
Cc: Dandan Bi <[email protected]>

Signed-off-by: Long1 Huang <[email protected]>
Reviewed-by: Dandan Bi <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to