V3: Avoid adding new member in current stucture to indicate indicate
whether current date type is Union or not. We can directly paas the
data type info to sub-statement/function during parsing phase.

This serie is the POC to update VfrCompiler to support Union type
in VarStore and construct the use cases in DriverSample.

Cc: Eric Dong <eric.d...@intel.com>
Cc: Liming Gao <liming....@intel.com>
Cc: Ruiyu Ni <ruiyu...@intel.com>
Dandan Bi (2):
  BaseTool/VfrCompile: Support Union type in VFR
  MdeModulePkg/DriverSample: Add sample questions to refer union type

 BaseTools/Source/C/VfrCompile/VfrSyntax.g          | 81 +++++++++++++---------
 BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp    | 17 ++++-
 BaseTools/Source/C/VfrCompile/VfrUtilityLib.h      |  4 +-
 .../Universal/DriverSampleDxe/DriverSample.c       | 57 +++++++++++++++
 .../Universal/DriverSampleDxe/DriverSample.h       |  1 +
 .../Universal/DriverSampleDxe/NVDataStruc.h        | 18 +++++
 MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr     | 25 +++++++
 .../Universal/DriverSampleDxe/VfrStrings.uni       |  4 ++
 8 files changed, 170 insertions(+), 37 deletions(-)

-- 
1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to