public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [RFC v3 0/2] Support Union type in VFR
@ 2017-06-06  2:58 Dandan Bi
  2017-06-06  2:58 ` [RFC v3 1/2] BaseTool/VfrCompile: " Dandan Bi
  2017-06-06  2:58 ` [RFC v3 2/2] MdeModulePkg/DriverSample: Add sample questions to refer union type Dandan Bi
  0 siblings, 2 replies; 4+ messages in thread
From: Dandan Bi @ 2017-06-06  2:58 UTC (permalink / raw)
  To: edk2-devel; +Cc: Eric Dong, Liming Gao, Ruiyu Ni

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-06  7:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-06  2:58 [RFC v3 0/2] Support Union type in VFR Dandan Bi
2017-06-06  2:58 ` [RFC v3 1/2] BaseTool/VfrCompile: " Dandan Bi
2017-06-06  7:16   ` Ni, Ruiyu
2017-06-06  2:58 ` [RFC v3 2/2] MdeModulePkg/DriverSample: Add sample questions to refer union type Dandan Bi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox