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 B2D1921E8798A for ; Mon, 11 Sep 2017 20:41:44 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Sep 2017 20:44:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,381,1500966000"; d="scan'208";a="134300874" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by orsmga002.jf.intel.com with ESMTP; 11 Sep 2017 20:44:34 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Eric Dong , Liming Gao Date: Tue, 12 Sep 2017 11:44:02 +0800 Message-Id: <1505187848-389908-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [PATCH v2 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: Tue, 12 Sep 2017 03:41:44 -0000 V2: Pacth1: Support bit field for Guided extension and appending question. Patch3: Add previous missing logic to handle question with Bit VarStore in UefiHiiLib. Patch4: Merge block data value with same offset/width or offset/width has overlap region. Patch6: Refine the new added questions and their field name in Varstore. This patch series is to: (1) Update VfrCompiler to parse bit field in data structure. (2) Update HiiDatabase HiiLib 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/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 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 | 268 +++-- 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 | 173 +++ .../Universal/DriverSampleDxe/VfrStrings.uni | 61 + .../Universal/HiiDatabaseDxe/ConfigRouting.c | 247 +++- .../Universal/HiiDatabaseDxe/HiiDatabase.h | 7 +- .../Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf | 3 +- MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | 139 ++- MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 120 +- MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 3 + .../Universal/SetupBrowserDxe/SetupBrowserDxe.inf | 3 +- 25 files changed, 2249 insertions(+), 642 deletions(-) -- 1.9.5.msysgit.1