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 8BFA521ECCB30 for ; Wed, 20 Sep 2017 06:07:23 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Sep 2017 06:10:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,421,1500966000"; d="scan'208";a="154024233" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by fmsmga006.fm.intel.com with ESMTP; 20 Sep 2017 06:10:28 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Eric Dong , Liming Gao Date: Wed, 20 Sep 2017 21:09:48 +0800 Message-Id: <1505912994-433548-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [PATCH V6 0/6] Support bitfield in storage of 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: Wed, 20 Sep 2017 13:07:23 -0000 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=545 This patch series is to: (1) Update VfrCompiler to parse bit field in data structure. (2) Update HiiDatabase,SetupBrowser and UefiHiiLib 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/VfrCompiler: Support Bit fields in EFI/Buffer VarStore MdeModulePkg: Add GUID/flags to implement BitField support MdeModulePkg/UefiHiiLib: Validate question with bit fields MdeModulePkg/HiiDatabase: Handle questions with Bit VarStore MdeModulePkg/SetupBrowser: Handle questions with Bit VarStore MdeModulePkg/DriverSample: Add questions with bit/union VarStore BaseTools/Source/C/Include/Common/MdeModuleHii.h | 20 +- BaseTools/Source/C/VfrCompile/VfrError.cpp | 3 +- BaseTools/Source/C/VfrCompile/VfrError.h | 3 +- BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp | 105 +- BaseTools/Source/C/VfrCompile/VfrFormPkg.h | 52 +- BaseTools/Source/C/VfrCompile/VfrSyntax.g | 1238 +++++++++++++------- BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | 240 +++- BaseTools/Source/C/VfrCompile/VfrUtilityLib.h | 23 +- MdeModulePkg/Include/Guid/MdeModuleHii.h | 20 +- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 250 ++-- MdeModulePkg/Library/UefiHiiLib/InternalHiiLib.h | 4 +- MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf | 5 +- MdeModulePkg/MdeModulePkg.dec | 4 + .../Universal/DriverSampleDxe/DriverSample.c | 120 ++ .../Universal/DriverSampleDxe/DriverSample.h | 2 + .../Universal/DriverSampleDxe/NVDataStruc.h | 34 +- MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr | 172 +++ .../Universal/DriverSampleDxe/VfrStrings.uni | 63 + .../Universal/HiiDatabaseDxe/ConfigRouting.c | 346 +++++- .../Universal/HiiDatabaseDxe/HiiDatabase.h | 6 +- .../Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf | 3 +- MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | 138 ++- MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 117 +- MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 3 + .../Universal/SetupBrowserDxe/SetupBrowserDxe.inf | 3 +- 25 files changed, 2327 insertions(+), 647 deletions(-) -- 1.9.5.msysgit.1