From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 8A71821E3EA64 for ; Mon, 4 Sep 2017 00:14:13 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Sep 2017 00:17:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,473,1498546800"; d="scan'208";a="145190916" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by orsmga005.jf.intel.com with ESMTP; 04 Sep 2017 00:16:48 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Eric Dong , Liming Gao Date: Mon, 4 Sep 2017 15:16:22 +0800 Message-Id: <1504509388-369768-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [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: Mon, 04 Sep 2017 07:14:13 -0000 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 VarStore. (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(-) -- 1.9.5.msysgit.1