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 E57CE21EA35D6 for ; Mon, 4 Sep 2017 22:01:56 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Sep 2017 22:04:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,478,1498546800"; d="scan'208";a="1214753365" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 04 Sep 2017 22:04:45 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 4 Sep 2017 22:04:45 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 4 Sep 2017 22:04:44 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.39]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.168]) with mapi id 14.03.0319.002; Tue, 5 Sep 2017 13:04:42 +0800 From: "Dong, Eric" To: "Bi, Dandan" , "edk2-devel@lists.01.org" CC: "Gao, Liming" Thread-Topic: [patch 0/6] Support bitfield and union type in vfr Thread-Index: AQHTJU3PNp1Vd9n2zk+W7ALAgyh4KKKlvkdw Date: Tue, 5 Sep 2017 05:04:42 +0000 Message-ID: References: <1504509388-369768-1-git-send-email-dandan.bi@intel.com> In-Reply-To: <1504509388-369768-1-git-send-email-dandan.bi@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch 0/6] Support bitfield and 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: Tue, 05 Sep 2017 05:01:57 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Eric Dong -----Original Message----- From: Bi, Dandan=20 Sent: Monday, September 4, 2017 3:16 PM To: edk2-devel@lists.01.org Cc: Dong, Eric ; Gao, Liming Subject: [patch 0/6] Support bitfield and union type in vfr This patch series is to: (1) Update VfrCompiler to parse UNION type, bit field in data structure. (2) Update HiiDatabase and SetupBrowser to handle questions with Bit VarSto= re. (3) Add sample questions with bit/union VarStore in DriverSample. Cc: Eric Dong Cc: Liming Gao Dandan Bi (6): BaseTool/VfrCompile: Support Union type in VFR BaseTool/VfrCompiler: Support Bit fields in EFI/Buffer VarStore MdeModulePkg: Add GUID/flags to implement BitFiled support MdeModulePkg/HiiDatabase: Handle questions with Bit VarStore MdeModulePkg/SetupBrowser: Handle questions with Bit VarStore MdeModulePkg/DriverSample: Add sample questions with bit/union VarStore BaseTools/Source/C/Include/Common/MdeModuleHii.h | 12 +- BaseTools/Source/C/VfrCompile/VfrError.cpp | 3 +- BaseTools/Source/C/VfrCompile/VfrError.h | 3 +- BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp | 4 +- BaseTools/Source/C/VfrCompile/VfrFormPkg.h | 52 +- BaseTools/Source/C/VfrCompile/VfrSyntax.g | 1240 ++++++++++++----= ---- BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | 258 +++- BaseTools/Source/C/VfrCompile/VfrUtilityLib.h | 28 +- MdeModulePkg/Include/Guid/MdeModuleHii.h | 19 +- MdeModulePkg/MdeModulePkg.dec | 4 + .../Universal/DriverSampleDxe/DriverSample.c | 120 ++ .../Universal/DriverSampleDxe/DriverSample.h | 2 + .../Universal/DriverSampleDxe/NVDataStruc.h | 51 +- MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr | 187 +++ .../Universal/DriverSampleDxe/VfrStrings.uni | 61 + .../Universal/HiiDatabaseDxe/ConfigRouting.c | 190 ++- .../Universal/HiiDatabaseDxe/HiiDatabase.h | 6 +- .../Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf | 3 +- MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | 142 ++- MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 120 +- MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 3 + .../Universal/SetupBrowserDxe/SetupBrowserDxe.inf | 3 +- 22 files changed, 1961 insertions(+), 550 deletions(-) --=20 1.9.5.msysgit.1