[edk2] [RFC V2 4/5] MdeModulePkg/HiiDatabase: Handle questions with Bit VarStore

2017-05-27 Thread Dandan Bi
lt;liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/HiiDatabaseDxe/ConfigRouting.c | 194 +++-- .../Universal/HiiDatabaseDxe/HiiDatabase.h | 4 + .../Universal/HiiDatabaseDxe/

[edk2] [RFC V2 0/5] Support Bit fields in EFI/Buffer VarStore

2017-05-27 Thread Dandan Bi
oCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> Dandan Bi (5): BaseTool/VfrCompiler: Support Bit fields in EFI/Buffer VarStore MdeModulePkg: Add guid/flags to implement BitFiled support MdeModulePkg/SetupBrowser: Handle questions with Bit VarStore MdeMod

[edk2] [RFC V2 1/5] BaseTool/VfrCompiler: Support Bit fields in EFI/Buffer VarStore

2017-05-27 Thread Dandan Bi
intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- BaseTools/Source/C/Include/Common/MdeModuleHii.h | 10 + BaseTools/Source/C/VfrCompile/VfrError.cpp | 3 +- BaseTools/Source/C/VfrCompile/VfrError.h | 3 +-

[edk2] [patch] MdeModulePkg/MnpDxe: Fix EBC build hang issue

2017-06-01 Thread Dandan Bi
Cc: Fu Siyuan <siyuan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Unive

[edk2] [patch] BaseTools/VfrCompile: Update MAX_PATH to a bigger one

2017-06-05 Thread Dandan Bi
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=579 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Daniel Díaz <daniel.d...@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com>

[edk2] [RFC 1/2] BaseTool/VfrCompile: Support Union type in VFR

2017-06-04 Thread Dandan Bi
Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- BaseTools/Source/C/VfrCompile/VfrSyntax.g | 17 + BaseTools/S

[edk2] [RFC 2/2] MdeModulePkg/DriverSample: Add sample questions to refer union type

2017-06-04 Thread Dandan Bi
Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/DriverSampleDxe/DriverSample.c | 57 ++ .../Univers

[edk2] [RFC v2 2/2] MdeModulePkg/DriverSample: Add sample questions to refer union type

2017-06-04 Thread Dandan Bi
Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/DriverSampleDxe/D

[edk2] [RFC v2 1/2] BaseTool/VfrCompile: Support Union type in VFR

2017-06-04 Thread Dandan Bi
ent 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- BaseTools/Source/C/VfrCompile/VfrSyntax.g | 19 ++- BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | 16 ++-- BaseTools/Source/C/VfrCompile/VfrUtilityLib.h | 3 ++- 3 files changed, 34 insertions(

[edk2] [RFC v2 0/2] Support Union type in VFR

2017-06-04 Thread Dandan Bi
ng Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Dandan Bi (2): BaseTool/VfrCompile: Support Union type in VFR MdeModulePkg/DriverSample: Add sample questions to refer union type BaseTools/Source/C/VfrCompile/VfrSyntax.g | 19 +++- BaseTools/S

[edk2] [RFC 0/2] Support Union type in EFI/Buffer VarStore

2017-06-04 Thread Dandan Bi
This serie is the POC to update VfrCompiler to support Union type in VarStore and construct the use cases in DriverSample. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Dandan Bi (2): BaseTool/VfrCompile: Support Union type in VFR MdeModulePkg/Drive

[edk2] [patch] MdeModulePkg/BMMUiLib: Fix incorrect variable name

2017-06-11 Thread Dandan Bi
as "ConErr" by mistake. This patch is to fix the inconsistent issue. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/BootMai

[edk2] [patch 5/8] MdePkg: Update comments in EFI_MEMORY_DESCRIPTOR according to UEFI2.7

2017-06-18 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Include/Uefi/UefiSpec.h | 21 ++--- 1 file changed, 14 insertions(+), 7

[edk2] [patch 2/8] IntelFrameworkModulePkg: Update comments in SimpleTextInEx

2017-06-18 Thread Dandan Bi
Update comments in SimpleTextInEx according to UEFI 2.7. Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Jeff Fan <jeff@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ..

[edk2] [patch 7/8] MdePkg: Clean ACPI 2.0 characters in UEFI spec

2017-06-18 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Include/Protocol/PciIo.h | 25 - MdePkg/Include/Protocol

[edk2] [patch 3/8] MdeModulePkg: Update comments in SimpleTextInEx according to UEFI 2.7

2017-06-18 Thread Dandan Bi
Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c | 12 MdeModulePkg/Bus/Usb

[edk2] [patch 1/8] MdePkg/SimpleTextInEx: Update comments according to UEFI 2.7 spec

2017-06-18 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Include/Protocol/SimpleTextInEx.h | 17 +---

[edk2] [patch 4/8] MdePkg/HiiImageDecoder.h: Remove the unnecessary comments

2017-06-18 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Include/Protocol/HiiImageDecoder.h | 9 - 1 file changed, 9 deletions(-) diff --gi

[edk2] [patch 6/8] MdePkg: update comments in ResetSystem() according to UEFI2.7

2017-06-18 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Include/Library/UefiRuntimeLib.h | 7 +++ MdePkg/Include/Uefi/UefiSpec.h | 3 ++

[edk2] [patch 0/8] Update function comments according to UEFI2.7 spec

2017-06-18 Thread Dandan Bi
This patch serial is to update fucntion comments accoding to new UEFI spec. Dandan Bi (8): MdePkg/SimpleTextInEx: Update comments according to UEFI 2.7 spec IntelFrameworkModulePkg: Update comments in SimpleTextInEx MdeModulePkg: Update comments in SimpleTextInEx according to UEFI 2.7

[edk2] [patch 8/8] MdeModulePkg: Clean ACPI 2.0 characters in UEFI spec

2017-06-18 Thread Dandan Bi
Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 6 +++--- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.h | 6 +++--- MdeM

[edk2] [PATCH v2 3/8] MdeModulePkg: Update comments in SimpleTextInEx according to UEFI 2.7

2017-06-18 Thread Dandan Bi
v2: Add some missing changes Ps2KeyboardDxe. Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdText

[edk2] [PATCH v2 5/8] MdePkg: Update comments in EFI_MEMORY_DESCRIPTOR according to UEFI2.7

2017-06-18 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Include/Uefi/UefiSpec.h | 21 ++--- 1 file changed, 14 insertions(+), 7

[edk2] [PATCH v2 7/8] MdePkg: Clean ACPI 2.0 characters in UEFI spec

2017-06-18 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Include/Protocol/PciIo.h | 25 - MdePkg/Include/Protocol

[edk2] [PATCH v2 2/8] IntelFrameworkModulePkg: Update comments in SimpleTextInEx

2017-06-18 Thread Dandan Bi
Update comments in SimpleTextInEx according to UEFI 2.7. Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Jeff Fan <jeff@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ..

[edk2] [PATCH v2 8/8] MdeModulePkg: Clean ACPI 2.0 characters in UEFI spec

2017-06-18 Thread Dandan Bi
v2: Add some missing changes. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 6 +++---

[edk2] [PATCH v2 0/8] Update function comments according to UEFI2.7 spec

2017-06-18 Thread Dandan Bi
v2: Add some missing changes in previous pacth 3 and patch 8. This patch serial is to update fucntion comments accoding to new UEFI spec. Dandan Bi (8): MdePkg/SimpleTextInEx: Update comments according to UEFI 2.7 spec IntelFrameworkModulePkg: Update comments in SimpleTextInEx

[edk2] [PATCH v2 6/8] MdePkg: update comments in ResetSystem() according to UEFI2.7

2017-06-18 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Include/Library/UefiRuntimeLib.h | 7 +++ MdePkg/Include/Uefi/UefiSpec.h | 3 ++

[edk2] [RFC v3 0/2] Support Union type in VFR

2017-06-05 Thread Dandan Bi
the use cases in DriverSample. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Dandan Bi (2): BaseTool/VfrCompile: Support Union type in VFR MdeModulePkg/DriverSample: Add sample questions to refer union type BaseTools/S

[edk2] [RFC v3 1/2] BaseTool/VfrCompile: Support Union type in VFR

2017-06-05 Thread Dandan Bi
yu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- BaseTools/Source/C/VfrCompile/VfrSyntax.g | 81 +++-- BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | 17 +- BaseT

[edk2] [RFC v3 2/2] MdeModulePkg/DriverSample: Add sample questions to refer union type

2017-06-05 Thread Dandan Bi
Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/DriverSampleDxe/D

[edk2] [patch] UefiCpuPkg: Fix coding style issues

2017-06-27 Thread Dandan Bi
Cc: Brijesh Singh <brijesh.si...@amd.com> Cc: Jeff Fan <jeff@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- UefiCpuPkg/Include/Register/Amd/Fam17Msr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[edk2] [PATCH v2 5/6] MdeModulePkg/SetupBrowser: Handle questions with Bit VarStore

2017-09-11 Thread Dandan Bi
value to/from bit VarStore correctly. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/SetupBrowserDxe

[edk2] [PATCH v2 6/6] MdeModulePkg/DriverSample: Add sample questions with bit/union VarStore

2017-09-11 Thread Dandan Bi
V2: Refine the new added questions and their field name in Varstore. REF:https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Danda

[edk2] [PATCH v2 0/6] Support bitfield in storage of vfr

2017-09-11 Thread Dandan Bi
c.d...@intel.com> Cc: Liming Gao <liming@intel.com> 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/HiiData

[edk2] [PATCH v2 2/6] MdeModulePkg: Add GUID/flags to implement BitField support

2017-09-11 Thread Dandan Bi
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Include/Guid/M

[edk2] [PATCH v2 4/6] MdeModulePkg/HiiDatabase: Handle questions with Bit VarStore

2017-09-11 Thread Dandan Bi
to get the bit Varstore info,and then generating the correct string. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/HiiDatabaseD

[edk2] [PATCH v2 3/6] MdeModulePkg/UefiHiiLib: Add codes to validate question with bit fields

2017-09-11 Thread Dandan Bi
c.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 270 --- MdeModulePkg/Library/UefiHiiLib/Inte

[edk2] [PATCH v3 6/6] MdeModulePkg/DriverSample: Add sample questions with bit/union VarStore

2017-09-15 Thread Dandan Bi
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/DriverSampleDxe/DriverSa

[edk2] [PATCH v3 5/6] MdeModulePkg/SetupBrowser: Handle questions with Bit VarStore

2017-09-15 Thread Dandan Bi
. Parse the Ifr data to get the bit VarStore info correctly. 2. Set/get value to/from bit VarStore correctly. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dand

[edk2] [PATCH v3 4/6] MdeModulePkg/HiiDatabase: Handle questions with Bit VarStore

2017-09-15 Thread Dandan Bi
Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/HiiDatabaseDxe/ConfigRouting.c | 346 +++-- .../Universal/HiiDatabaseDxe/HiiDatabase.h | 6 +- .../Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf| 3 +- 3 files chang

[edk2] [PATCH v3 0/6] Support bitfield in storage of vfr

2017-09-15 Thread Dandan Bi
. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> 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 bi

[edk2] [PATCH v3 2/6] MdeModulePkg: Add GUID/flags to implement BitField support

2017-09-15 Thread Dandan Bi
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Include/Guid/M

[edk2] [PATCH v3 3/6] MdeModulePkg/UefiHiiLib: Add codes to validate question with bit fields

2017-09-15 Thread Dandan Bi
com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 246 --- MdeModulePkg/Library/UefiHiiLib/InternalHiiLib.h |

[edk2] [edk2-VfrSpecification PATCH V2] Add union data type and bit fields in VFR Data Struct Definition

2017-09-15 Thread Dandan Bi
V2: Add a note in the doc:for the bit field, the number of the bit width could not exceed 32. https://bugzilla.tianocore.org/show_bug.cgi?id=683 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-of

[edk2] [PATCH V5 5/6] MdeModulePkg/SetupBrowser: Handle questions with Bit VarStore

2017-09-20 Thread Dandan Bi
ibuted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | 138 - MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 117 +++-- MdeModulePkg/Universal/SetupBrowserDxe

[edk2] [PATCH V5 6/6] MdeModulePkg/DriverSample: Add questions with bit/union VarStore

2017-09-20 Thread Dandan Bi
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/DriverSampleDxe/DriverSa

[edk2] [PATCH V5 2/6] MdeModulePkg: Add GUID/flags to implement BitField support

2017-09-20 Thread Dandan Bi
V5: Update the EDKII extension GUID name with EDKII/Edkii prefix. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Danda

[edk2] [PATCH V5 0/6] Support bitfield in storage of vfr

2017-09-20 Thread Dandan Bi
. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> 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

[edk2] [PATCH V5 4/6] MdeModulePkg/HiiDatabase: Handle questions with Bit VarStore

2017-09-20 Thread Dandan Bi
Varstore info,and then generating the correct string. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/HiiDatabaseDxe/ConfigRou

[edk2] [PATCH V5 3/6] MdeModulePkg/UefiHiiLib: Validate question with bit fields

2017-09-20 Thread Dandan Bi
gt; Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 246 --- MdeModulePkg/Library/UefiHiiLib/InternalHiiLib.h |

[edk2] [PATCH v4 6/6] MdeModulePkg/DriverSample: Add questions with bit/union VarStore

2017-09-18 Thread Dandan Bi
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/DriverSampleDxe/DriverSa

[edk2] [PATCH v4 5/6] MdeModulePkg/SetupBrowser: Handle questions with Bit VarStore

2017-09-18 Thread Dandan Bi
value to/from bit VarStore correctly. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/SetupBrowserDxe

[edk2] [PATCH v4 3/6] MdeModulePkg/UefiHiiLib: Validate question with bit fields

2017-09-18 Thread Dandan Bi
r: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 246 --- MdeModulePkg/Library/UefiHiiLib/InternalHiiLib.h | 4 +- MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf | 5 +- 3

[edk2] [PATCH v4 4/6] MdeModulePkg/HiiDatabase: Handle questions with Bit VarStore

2017-09-18 Thread Dandan Bi
<eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/HiiDatabaseDxe/ConfigRouting.c | 346 +++-- .../Universal/HiiDatabas

[edk2] [PATCH v4 0/6] Support bitfield in storage of vfr

2017-09-18 Thread Dandan Bi
. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> 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 bi

[edk2] [PATCH v4 2/6] MdeModulePkg: Add GUID/flags to implement BitField support

2017-09-18 Thread Dandan Bi
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Include/Guid/M

[edk2] [patch] MdeModulePkg/SetupBrowser:Add NULL check before using a pointer

2017-09-21 Thread Dandan Bi
Add NULL pointer check before using a pointer to avoid possible NULL pointer dereference. Cc: Eric Dong <eric.d...@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeM

[edk2] [PATCH V6 3/6] MdeModulePkg/UefiHiiLib: Validate question with bit fields

2017-09-20 Thread Dandan Bi
c.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 250 --- MdeModulePkg/Library/UefiHiiLib/Inte

[edk2] [PATCH V6 5/6] MdeModulePkg/SetupBrowser: Handle questions with Bit VarStore

2017-09-20 Thread Dandan Bi
in following cases: 1. Parse the Ifr data to get the bit VarStore info correctly. 2. Set/get value to/from bit VarStore correctly. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dand

[edk2] [PATCH V6 4/6] MdeModulePkg/HiiDatabase: Handle questions with Bit VarStore

2017-09-20 Thread Dandan Bi
to get the bit Varstore info,and then generating the correct string. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/HiiDatabaseD

[edk2] [PATCH V6 2/6] MdeModulePkg: Add GUID/flags to implement BitField support

2017-09-20 Thread Dandan Bi
V6:Update EDKII extenstion MACRO name with EDKII prefix which are missing in V5. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-b

[edk2] [PATCH V6 6/6] MdeModulePkg/DriverSample: Add questions with bit/union VarStore

2017-09-20 Thread Dandan Bi
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/DriverSampleDxe/DriverSa

[edk2] [PATCH V6 0/6] Support bitfield in storage of vfr

2017-09-20 Thread Dandan Bi
. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> 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

[edk2] [patch] Security/OpalHii.c: Handle NULL Request or Request with no elements

2017-10-15 Thread Dandan Bi
. The implementation of ExtractConfig function in OpalHii.c misses to handle above cases.This patch is to do the enhancements. Cc: Chao Zhang <chao.b.zh...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dand

[edk2] [patch 3/3] MdeModulePkg/UdfDxe: Add type cast to fix build failure in VS tools

2017-09-10 Thread Dandan Bi
Cc: Eric Dong <eric.d...@intel.com> Cc: Paulo Alcantara <pca...@zytor.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com>

[edk2] [patch 0/3] MdeModulePkg/Udf: Fix VS tool chain build failures

2017-09-10 Thread Dandan Bi
Dandan Bi (3): MdeModulePkg/PartitionDxe: Don't use non-constant expression in array initialization MdeModulePkg/UdfDxe: Don't use non-constant expression in array initialization MdeModulePkg/UdfDxe: Add type cast to fix build failure in VS tools MdeModulePkg/Universal/Disk

[edk2] [patch 2/3] MdeModulePkg/UdfDxe: Don't use non-constant expression in array

2017-09-10 Thread Dandan Bi
om> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/Disk/UdfDxe/FileSystemOperations.c | 93 +- 1 file changed, 72 insertions(+), 21 deletions(-) diff --git a/MdeModulePkg/Universal/Disk/Ud

[edk2] [patch 1/3] MdeModulePkg/PartitionDxe: Don't use non-constant expression in array

2017-09-10 Thread Dandan Bi
om> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c | 93 -- 1 file changed, 72 insertions(+), 21 deletions(-) diff --git a/MdeModulePkg/Universal/Disk/Part

[edk2] [PATCH v2 2/3] MdeModulePkg/UdfDxe: Initialize the array after declaration

2017-09-11 Thread Dandan Bi
Initialize the array DescriptorLBAs[] after declaration to fix non-constant aggregate initializer warning in VS tool chains. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.

[edk2] [PATCH v2 1/3] MdeModulePkg/PartitionDxe: Initialize the array after declaration

2017-09-11 Thread Dandan Bi
Initialize the array DescriptorLBAs[] after declaration to fix non-constant aggregate initializer warning in VS tool chains. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/Disk/PartitionDxe/Udf.

[edk2] [PATCH v2 3/3] MdeModulePkg/UdfDxe: Add type cast to fix build failure in VS tools

2017-09-11 Thread Dandan Bi
Cc: Eric Dong <eric.d...@intel.com> Cc: Paulo Alcantara <pca...@zytor.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com>

[edk2] [PATCH v3 1/3] MdeModulePkg/UdfDxe: Add type cast to fix build failure in VS tools

2017-09-12 Thread Dandan Bi
Ni <ruiyu...@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/Disk/UdfDxe/FileSystemOperations.c | 16 1 file changed, 8 insertions(

[edk2] [PATCH v3 2/3] MdeModulePkg/UdfDxe: Initialize the array after declaration

2017-09-12 Thread Dandan Bi
om> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Universal/Disk/UdfDxe/FileSyst

[edk2] [PATCH v3 3/3] MdeModulePkg/PartitionDxe: Initialize the array after declaration

2017-09-12 Thread Dandan Bi
om> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c

[edk2] [PATCH v3 0/3] Fix VS tool chain build failure

2017-09-12 Thread Dandan Bi
V3: Remove one unnecessay type cast in patch 1. Dandan Bi (3): MdeModulePkg/UdfDxe: Add type cast to fix build failure in VS tools MdeModulePkg/UdfDxe: Initialize the array after declaration MdeModulePkg/PartitionDxe: Initialize the array after declaration MdeModulePkg/Universal/Disk

[edk2] [patch] MdeModulePkg: Add UdfDxe to the dsc file

2017-09-13 Thread Dandan Bi
Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/MdeModulePkg.dsc | 1 + 1 file changed, 1

[edk2] [patch] ShellPkg/Dh: Refine variable naming style

2017-09-27 Thread Dandan Bi
Avoid using only lower-case characters for variable name. Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Jaben Carsey <jaben.car...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/Library/UefiShellDriver1Co

[edk2] [patch] UefiCpuPkg/CpuDxe: Add missing function description comments

2017-09-25 Thread Dandan Bi
Cc: Eric Dong <eric.d...@intel.com> Cc: Jian J Wang <jian.j.w...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- UefiCpuPkg/CpuDxe/CpuDxe.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UefiCpuPkg

[edk2] [PATCH V3 2/3] MdeModulePkg/DisplayEngine: Add implementation of HiiPopup protocol

2017-08-21 Thread Dandan Bi
c.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../DisplayEngineDxe/DisplayEngineDxe.inf | 4 +- .../Universal/DisplayEngineDxe/FormDisplay.c | 42

[edk2] [PATCH V3 1/3] MdePkg/HiiPopup: Add HII Popup Protocol definitions

2017-08-21 Thread Dandan Bi
Add definitions for HII Popup Protocol according to UEFI2.7. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Include/Protoc

[edk2] [PATCH V3 3/3] MdeModulePkg/DriverSample: Add sample case for popup protocol

2017-08-21 Thread Dandan Bi
Add one sample case about how to use HiiPopup protocol to draw message box. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Univers

[edk2] [PATCH V3 0/3] Add HII Popup Protocol

2017-08-21 Thread Dandan Bi
Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Dandan Bi (3): MdePkg/HiiPopup: Add HII Popup Protocol definitions MdeModulePkg/DisplayEngine: Add implementation of HiiPopup protocol MdeModulePkg/DriverSample: Add sample case for popup protocol .../DisplayEng

[edk2] [PATCH V4 2/3] MdeModulePkg/DisplayEngine: Add implementation of HiiPopup protocol

2017-08-22 Thread Dandan Bi
liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../DisplayEngineDxe/DisplayEngineDxe.inf | 4 +- .../Universal/DisplayEngineDxe/FormDisplay.c | 42 ++ .../Universal/DisplayEngine

[edk2] [PATCH V4 3/3] MdeModulePkg/DriverSample: Add sample case for popup protocol

2017-08-22 Thread Dandan Bi
Add one sample case about how to use HiiPopup protocol to draw message box. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Univers

[edk2] [PATCH V4 1/3] MdePkg/HiiPopup: Add HII Popup Protocol definitions

2017-08-22 Thread Dandan Bi
Add definitions for HII Popup Protocol according to UEFI2.7. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Include/Protoc

[edk2] [PATCH V5 0/3] Add HII Popup Protocol

2017-08-22 Thread Dandan Bi
;, "INFO" at the top of the message box to implement the different appearances for different styles of Popup. Updates in pacth 3: Update the date info in the Copyright. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Dandan Bi (3): MdePkg/HiiPopup: Add HII

[edk2] [PATCH V5 2/3] MdeModulePkg/DisplayEngine: Add implementation of HiiPopup protocol

2017-08-22 Thread Dandan Bi
liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../DisplayEngineDxe/DisplayEngineDxe.inf | 4 +- .../Universal/DisplayEngineDxe/FormDisplay.c | 42 ++ .../Universal/DisplayEngine

[edk2] [PATCH V5 3/3] MdeModulePkg/DriverSample: Add sample case for popup protocol

2017-08-22 Thread Dandan Bi
Add one sample case about how to use HiiPopup protocol to draw message box. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Univers

[edk2] [PATCH V5] MdePkg/HiiPopup: Add HII Popup Protocol definitions

2017-08-22 Thread Dandan Bi
V5: Move the protocol GUID to the part fot UEFI2.7 protocol in dec. Add definitions for HII Popup Protocol according to UEFI2.7. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Danda

[edk2] [patch] IntelFrameworkModulePkg/LegacyBootMaintUiLib: Add NULL pointer check

2017-08-24 Thread Dandan Bi
r: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/Lega

[edk2] [patch] MdeModulePkg/UefiHiiLib: Fix incorrect check for string length

2017-08-27 Thread Dandan Bi
length. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 11 --- 1 file changed, 8 insertions(+), 3

[edk2] [PATCH v2] MdeModulePkg/UefiHiiLib: Fix incorrect check for string length

2017-08-29 Thread Dandan Bi
length. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 15 --- 1 file changed, 12 insertio

[edk2] [patch 1/6] BaseTool/VfrCompile: Support Union type in VFR

2017-09-04 Thread Dandan Bi
https://bugzilla.tianocore.org/show_bug.cgi?id=603 Update VfrCompiler to parse the UNION type in vfr file Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dand

[edk2] [patch 6/6] MdeModulePkg/DriverSample: Add sample questions with bit/union VarStore

2017-09-04 Thread Dandan Bi
https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/DriverSampleDxe/DriverSa

[edk2] [patch 4/6] MdeModulePkg/HiiDatabase: Handle questions with Bit VarStore

2017-09-04 Thread Dandan Bi
<eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Universal/HiiDatabaseDxe/ConfigRouting.c | 190 +++-- .../Universal/HiiDatabaseDxe/HiiDataba

[edk2] [patch 3/6] MdeModulePkg: Add GUID/flags to implement BitField support

2017-09-04 Thread Dandan Bi
https://bugzilla.tianocore.org/show_bug.cgi?id=545 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Include/Guid/M

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

2017-09-04 Thread Dandan Bi
ng Gao <liming@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

[edk2] [patch 5/6] MdeModulePkg/SetupBrowser: Handle questions with Bit VarStore

2017-09-04 Thread Dandan Bi
value to/from bit VarStore correctly. Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/SetupBrowserDxe

[edk2] [edk2-VfrSpecification PATCH] Add union data type and bit fields in VFR Data Struct Definition

2017-09-04 Thread Dandan Bi
https://bugzilla.tianocore.org/show_bug.cgi?id=683 Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../23_vfr_data_struct_definition.md

<    1   2   3   4   5   6   7   >