[edk2] [RFC v3 0/2] Support Union type in VFR

Dandan Bi posted 2 patches 6 years, 10 months ago
Failed in applying to current master (apply log)
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(-)
[edk2] [RFC v3 0/2] Support Union type in VFR
Posted by Dandan Bi 6 years, 10 months ago
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.dong@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@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