public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Dandan Bi <dandan.bi@intel.com>
To: edk2-devel@lists.01.org
Cc: Eric Dong <eric.dong@intel.com>,
	Liming Gao <liming.gao@intel.com>, Ruiyu Ni <ruiyu.ni@intel.com>
Subject: [RFC v3 0/2] Support Union type in VFR
Date: Tue,  6 Jun 2017 10:58:24 +0800	[thread overview]
Message-ID: <1496717906-372916-1-git-send-email-dandan.bi@intel.com> (raw)

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



             reply	other threads:[~2017-06-06  2:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06  2:58 Dandan Bi [this message]
2017-06-06  2:58 ` [RFC v3 1/2] BaseTool/VfrCompile: Support Union type in VFR 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1496717906-372916-1-git-send-email-dandan.bi@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox