From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6D7BB21A16E4A for ; Sun, 4 Jun 2017 21:29:54 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jun 2017 21:30:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,299,1493708400"; d="scan'208";a="864567976" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jun 2017 21:30:58 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Eric Dong , Liming Gao , Ruiyu Ni Date: Mon, 5 Jun 2017 12:30:38 +0800 Message-Id: <1496637040-369220-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [RFC v2 0/2] Support Union type in VFR X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2017 04:29:54 -0000 V2: Update VfrCompiler to use member variable instead of global varable to indicate whether current date type is Union. This serie is the POC to update VfrCompiler to support Union type in VarStore and construct the use cases in DriverSample. Cc: Eric Dong Cc: Liming Gao Cc: Ruiyu Ni 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 | 19 +++++++- BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | 16 +++++- BaseTools/Source/C/VfrCompile/VfrUtilityLib.h | 3 +- .../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, 139 insertions(+), 4 deletions(-) -- 1.9.5.msysgit.1