From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 6F8D620945BEE for ; Mon, 18 Sep 2017 00:40:38 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2017 00:43:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,411,1500966000"; d="scan'208";a="136477739" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by orsmga002.jf.intel.com with ESMTP; 18 Sep 2017 00:43:32 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Eric Dong , Liming Gao Date: Mon, 18 Sep 2017 15:43:17 +0800 Message-Id: <1505720603-429284-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [PATCH v4 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: Mon, 18 Sep 2017 07:40:38 -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: Add codes to validate question with bit fields 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 | 13 +- 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 | 241 +++- BaseTools/Source/C/VfrCompile/VfrUtilityLib.h | 23 +- MdeModulePkg/Include/Guid/MdeModuleHii.h | 20 +- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 246 ++-- 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 | 110 +- MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 3 + .../Universal/SetupBrowserDxe/SetupBrowserDxe.inf | 3 +- 25 files changed, 2312 insertions(+), 647 deletions(-) -- 1.9.5.msysgit.1