[edk2] [patch 0/6] Support bitfield and union type in vfr

Dandan Bi posted 6 patches 7 years, 3 months ago
Failed in applying to current master (apply log)
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(-)
[edk2] [patch 0/6] Support bitfield and union type in vfr
Posted by Dandan Bi 7 years, 3 months ago
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 <eric.dong@intel.com>
Cc: Liming Gao <liming.gao@intel.com>

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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [patch 0/6] Support bitfield and union type in vfr
Posted by Dong, Eric 7 years, 3 months ago
Reviewed-by: Eric Dong <eric.dong@intel.com>

-----Original Message-----
From: Bi, Dandan 
Sent: Monday, September 4, 2017 3:16 PM
To: edk2-devel@lists.01.org
Cc: Dong, Eric <eric.dong@intel.com>; Gao, Liming <liming.gao@intel.com>
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 VarStore.
(3) Add sample questions with bit/union VarStore in DriverSample.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <liming.gao@intel.com>

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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel