[edk2] [patch V2 1/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-06 Thread Dandan Bi
Make the function comments follow EDK2 coding style. Cc: Sami Mujawar Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../UefiShellAcpiViewCommandLib/AcpiParser.c | 130

[edk2] [patch V2 2/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-06 Thread Dandan Bi
-by: Dandan Bi --- .../UefiShellAcpiViewCommandLib/AcpiParser.c | 44 ++-- .../UefiShellAcpiViewCommandLib/AcpiTableParser.c | 50 +-- .../Library/UefiShellAcpiViewCommandLib/AcpiView.c | 58 ++ .../Library/UefiShellAcpiViewCommandLib/AcpiView.h | 10

[edk2] [patch V2 0/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-06 Thread Dandan Bi
ECC tool report some coding style issue in UefiShellAcpiViewCommandLib. This patch series is to clean these issues. V2: Remove the updates of guard macros in header files in patch 2. Cc: Sami Mujawar Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Dandan Bi (2): ShellPkg

[edk2] [patch 2/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-05 Thread Dandan Bi
Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../UefiShellAcpiViewCommandLib/AcpiParser.c | 44 ++-- .../UefiShellAcpiViewCommandLib/AcpiParser.h | 6

[edk2] [patch 0/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-05 Thread Dandan Bi
ECC tool report some coding style issue in UefiShellAcpiViewCommandLib. This patch series is to clean these issues. Cc: Sami Mujawar Cc: Evan Lloyd Cc: Sami Mujawar Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Dandan Bi (2): ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues ShellPkg

[edk2] [patch 1/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-05 Thread Dandan Bi
Make the function comments follow EDK2 coding style. Cc: Sami Mujawar Cc: Evan Lloyd Cc: Sami Mujawar Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../UefiShellAcpiViewCommandLib/AcpiParser.c | 130

[edk2] [patch 1/3] ShellPkg/Dp: make sure memory is freed before exit

2018-06-05 Thread Dandan Bi
-by: Dandan Bi --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 70 ++- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c index aa9c2cdf7a8..fe85937f557 100644

[edk2] [patch 3/3] ShellPkg/Dp: Make the help info align with code

2018-06-05 Thread Dandan Bi
Remove -T, -P, -h flags in the help info of DP to align with current code implementation. Cc: Liming Gao Cc: Ruiyu Ni Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.uni | 4 +--- 1 file changed

[edk2] [patch 2/3] ShellPkg/Dp: Initialize summary date when run DP

2018-06-05 Thread Dandan Bi
data "SummaryData" when the dp dymanic command is called. Cc: Liming Gao Cc: Ruiyu Ni Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 23 +++ 1 file changed,

[edk2] [patch] IntelFrameworkPkg/UefiLib: Fix build fail caused by commit b6d5def2fa

2018-05-18 Thread Dandan Bi
ibuted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c b/IntelFrameworkPkg/Librar

[edk2] [patch 1/3] ShellPkg/Dp: make sure memory is freed before exit

2018-05-13 Thread Dandan Bi
on Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 70 ++- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c b/ShellPkg/DynamicCommand/DpD

[edk2] [patch 2/3] ShellPkg/Dp: Initialize summary date when run DP

2018-05-13 Thread Dandan Bi
data "SummaryData" when the dp dymanic command is called. Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/DynamicCommand/DpDynami

[edk2] [patch 3/3] ShellPkg/Dp: Make the help info align with code

2018-05-13 Thread Dandan Bi
Remove -T, -P, -h flags in the help info of DP to align with current code implementation. Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- Shell

[edk2] [patch v2] BaseTools/VfrCompile: Avoid using uninitialized pointer

2018-05-08 Thread Dandan Bi
gt; Cc: Gary Lin <g...@suse.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- BaseTools/Source/C/VfrCompile/VfrSyntax.g | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/BaseT

[edk2] [patch] BaseTools/VfrCompile: Avoid using uninitialized pointer

2018-05-08 Thread Dandan Bi
r: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- BaseTools/Source/C/VfrCompile/VfrSyntax.g | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/BaseTools/Source/C/VfrCompile/VfrSyntax.g b/BaseTools/Source/C/VfrCompile/VfrSyntax.g

[edk2] [patch] UefiCpuPkg/PiSmmCpuDxeSmm: Add "extern" keyword for "gPatchxxx"

2018-04-12 Thread Dandan Bi
gt; Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 8 UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h | 2 +- UefiCpuPkg/PiSmmCpuDxeSmm/SmramSaveState.c | 6 +++--- UefiCpuPkg/P

[edk2] [patch 1/3] MdeModulePkg/UiApp: Signal event when enter/exit setup menu

2018-04-11 Thread Dandan Bi
the callback. 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/Application/UiApp/FrontPage.c| 4 +++- MdeModulePkg

[edk2] [patch 3/3] MdeModulePkg/BMUiLib: Signal event when enter/exit setup menu

2018-04-11 Thread Dandan Bi
the callback. 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/Library/BootManagerUiLib/BootManager.c| 7 ++- MdeModulePkg/Librar

[edk2] [patch 2/3] MdeModulePkg/BMMUiLib: Signal event when enter/exit setup menu

2018-04-11 Thread Dandan Bi
the callback. 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> --- .../BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf | 4 +++- Md

[edk2] [patch 0/3] MdeModulePkg/UiApp: Signal event when enter/exit setup menu

2018-04-11 Thread Dandan Bi
the callback. 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> Dandan Bi (3): MdeModulePkg/UiApp: Signal event when enter/exit setup menu MdeModulePkg/BMMU

[edk2] [patch] MdeModulePkg/FPDT: Add error message for unsupported case

2018-04-10 Thread Dandan Bi
ing@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.c| 3 +++ .../Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.c| 5 + 2 files changed,

[edk2] [patch 2/2] BaseTool/VfrCompile: make delete[] match with new[]

2018-04-10 Thread Dandan Bi
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> --- BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | 12 1 file changed, 8 insertio

[edk2] [patch 1/2] BaseTools/VfrCompile:Fix memory leak issues

2018-04-10 Thread Dandan Bi
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> --- BaseTools/Source/C/VfrCompile/VfrSyntax.g | 32 ++- 1 file changed, 3

[edk2] [patch] OvmfPkg:Fix VS2012 build failure

2018-03-22 Thread Dandan Bi
t;, in VirtioScsiPassThru() are only reached if "Packet->InTransferLength > 0", *and* we map the input buffer successfully. The similar reason for "OutDataMapping" and "OutDataDeviceAddress". Cc: Laszlo Ersek <ler...@redhat.com> Cc: Ard Biesheuvel &

[edk2] [patch] MdeModulePkg: Fix coding style issues in file/function comments

2018-03-15 Thread Dandan Bi
Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Include/Protocol/BootLogo2.h| 2 +- MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf | 1 +

[edk2] [patch] SecurityPkg/SmmTcg2PhysicalPresenceLib: Fix coding style issue

2018-03-06 Thread Dandan Bi
Boolean values do not need to use explicit comparisons to TRUE or FALSE. Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceL

[edk2] [patch] UefiCpuPkg/CpuCommonFeaturesLib: Fix coding style issue

2018-03-06 Thread Dandan Bi
Boolean values do not need to use explicit comparisons to TRUE or FALSE. Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi &l

[edk2] [patch] MdeModulePkg/DriverSampleDxe: Refine the sample case for UNION type

2018-03-06 Thread Dandan Bi
The example of UNION storage is not good, now update it. 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/DriverSampleDxe/N

[edk2] [patch] MdeModulePkg: Fix incorrect commit introduced by commit SHA-1:052c98

2018-02-28 Thread Dandan Bi
gt; Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/MdeModulePkg.dec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeMo

[edk2] [patch] MdeModulePkg/DxeCorePerfLib: Add status check instead of ASSERT

2018-02-28 Thread Dandan Bi
: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 5 ++--- 1 file changed, 2 insertio

[edk2] [patch 1/2] BaseTool/VfrCompile: make delete[] match with new[]

2018-02-26 Thread Dandan Bi
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=764 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> --- BaseTools/Source/C/VfrCompile/VfrC

[edk2] [patch 2/2] BaseTool/VfrCompile: Fix potential memory leak issue

2018-02-26 Thread Dandan Bi
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=771 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> --- BaseTools/Source/C/VfrCompile/VfrUtilityL

[edk2] [patch v2] MdePkg/BaseSafeIntLib: Fix VS2015 IA32 NOOPT build failure

2018-02-26 Thread Dandan Bi
in...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf | 3 +++ MdePkg/Library/BaseSafeIntLib/SafeIntLib.c | 9 + MdePkg/Library/BaseSafeIntLib/SafeIntLib32.c | 3

[edk2] [patch] MdePkg/BaseSafeIntLib: Fix VS2015 IA32 NOOPT build failure

2018-02-25 Thread Dandan Bi
replaces direct shift/multiplication of 64-bit integer with related function call to fix these failure. Cc: Liming Gao <liming@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.c

[edk2] [PATCH v2 4/7] MdeModulePkg/UefiBootManagerLib: Remove the useless pref codes

2018-02-09 Thread Dandan Bi
performance date form ACPI table in OS. So we can remove the old pref code to write performance data to OS. Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH v2 2/7] UefiCpuPkg/S3Resume: Remove useless pref code

2018-02-09 Thread Dandan Bi
date form ACPI table in OS. So we can remove the old pref code to write performance data to OS. Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH v2 3/7] MdeModulePkg/BdsDxe: Remove useless Pref Code

2018-02-09 Thread Dandan Bi
performance date form ACPI table in OS. So we can remove the old pref code to write performance data to OS. Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH v2 5/7] IntelFrameworkModulePkg/BdsDxe: Remove the useless Perf codes

2018-02-09 Thread Dandan Bi
: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- IntelFrameworkModulePkg/Universal/BdsDxe/Bds.h | 3 +- .../Universal/BdsDxe/BdsDxe.inf

[edk2] [PATCH v2 6/7] IntelFrameworkModulePkg/GenericBdsLib: Remove the useless Perf codes

2018-02-09 Thread Dandan Bi
: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/GenericBdsLib/BdsBoot.c| 29 +- .../Library/GenericBdsLib/GenericBdsLi

[edk2] [PATCH v2 0/7] Remove the useless pref codes

2018-02-09 Thread Dandan Bi
ic.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: David Wei <david@intel.com> Cc: Mang Guo <mang@intel.com> Dandan Bi (7): MdeModulePkg/Performance.h: Remove the useless definition UefiCpuPkg/S3Resume: Remove useless pref code MdeModulePkg/BdsDx

[edk2] [PATCH v2 1/7] MdeModulePkg/Performance.h: Remove the useless definition

2018-02-09 Thread Dandan Bi
Remove the definitions related to old perf codes. Cc: Star Zeng <star.z...@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/

[edk2] [patch] MdeModulePkg/PerfLib: Add NULL pointer check for "Token"

2018-02-09 Thread Dandan Bi
ion Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 6 +- MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c | 6 +- MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib

[edk2] [patch 2/2] ShellPkg/DP: Update the error message info

2018-02-08 Thread Dandan Bi
Make the error message clearer if fail to get ACPI/FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/DynamicCommand/DpD

[edk2] [patch 1/2] ShellPkg/Dp: Add null pointer check

2018-02-08 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[edk2] [patch] MdeModulePkg/DriverSampleDxe: Make bit fields aligned in C structure

2018-02-08 Thread Dandan Bi
intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h b/MdeM

[edk2] [PATCH v2] UefiCpuPkg/S3Resume: Add more perf entry for S3 phase

2018-02-07 Thread Dandan Bi
g@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/

[edk2] [patch] MdeModulePkg/PciBusDxe: Fix VS2012 build failure

2018-02-06 Thread Dandan Bi
Initialize local variable to suppress warning C4703: potentially uninitialized local pointer variable. Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> ---

[edk2] [PATCH v5 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase

2018-02-06 Thread Dandan Bi
Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/PeiPerformanceLib/PeiPerformanceLib.c | 567 ++--- .../PeiPerformanceLib/PeiPerformanceLib.inf| 14 +- 2 files changed, 382 insertions(+), 199 deletions(-) diff --git a/Md

[edk2] [PATCH v5 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure

2018-02-06 Thread Dandan Bi
DxeCorePerformanceLib. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceDxe.c

[edk2] [PATCH v5 7/8] MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure

2018-02-06 Thread Dandan Bi
by SmmCorePerformanceLib. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceSmm.c

[edk2] [PATCH v5 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table

2018-02-06 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> 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/D

[edk2] [PATCH v5 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

2018-02-06 Thread Dandan Bi
to convert Pref entry to FPDT record in SMM phase and then export records to FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Smm

[edk2] [PATCH v5 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase

2018-02-06 Thread Dandan Bi
Add FPDT records into boot performance table for S3 phase Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformancePei.c

[edk2] [PATCH v5 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase

2018-02-06 Thread Dandan Bi
ing@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 1367 +++- .../DxeCorePerformanceLib.inf

[edk2] [PATCH v5 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table

2018-02-06 Thread Dandan Bi
info from the FPDT records in FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Dandan Bi (7): MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DX

[edk2] [PATCH v5 1/8] MdeModulePkg:Add definitions for new Performance infrastructure

2018-02-06 Thread Dandan Bi
From: "Gao, Liming" <liming@intel.com> V3: Add "FPDT_" prefix for related definitions. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <limin

[edk2] [PATCH v4 7/8] MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure

2018-02-06 Thread Dandan Bi
by SmmCorePerformanceLib. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceSmm.c

[edk2] [PATCH v4 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure

2018-02-06 Thread Dandan Bi
DxeCorePerformanceLib. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceDxe.c

[edk2] [PATCH v4 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

2018-02-06 Thread Dandan Bi
to convert Pref entry to FPDT record in SMM phase and then export records to FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Smm

[edk2] [PATCH v4 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table

2018-02-06 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> 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/D

[edk2] [PATCH v4 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase

2018-02-06 Thread Dandan Bi
Add FPDT records into boot performance table for S3 phase Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformancePei.c

[edk2] [PATCH v4 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase

2018-02-06 Thread Dandan Bi
ing@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 1367 +++- .../DxeCorePerformanceLib.inf

[edk2] [PATCH v4 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase

2018-02-06 Thread Dandan Bi
Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/PeiPerformanceLib/PeiPerformanceLib.c | 567 ++--- .../PeiPerformanceLib/PeiPerformanceLib.inf| 14 +- 2 files changed, 382 insertions(+), 199 deletions(-) diff --git a/Md

[edk2] [PATCH v4 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table

2018-02-06 Thread Dandan Bi
ao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Dandan Bi (7): MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SM

[edk2] [PATCH v4 1/8] MdeModulePkg:Add definitions for new Performance infrastructure

2018-02-06 Thread Dandan Bi
From: "Gao, Liming" <liming@intel.com> V3: Add "FPDT_" prefix for related definitions. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <limin

[edk2] [PATCH v3 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase

2018-02-02 Thread Dandan Bi
to save the record and report the address of boot performance table to FirmwarePerformanceDxe. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dand

[edk2] [PATCH v3 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table

2018-02-02 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> 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/D

[edk2] [PATCH v3 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase

2018-02-02 Thread Dandan Bi
Add FPDT records into boot performance table for S3 phase Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformancePei.c

[edk2] [PATCH v3 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

2018-02-02 Thread Dandan Bi
records instead of records contents. Updated to convert Pref entry to FPDT record in SMM phase and then export records to FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Danda

[edk2] [PATCH v3 7/8] MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure

2018-02-02 Thread Dandan Bi
by SmmCorePerformanceLib. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceSmm.c

[edk2] [PATCH v3 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure

2018-02-02 Thread Dandan Bi
intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceDxe.c | 294 - .../FirmwarePerformanceDxe.inf | 4 +- 2 files changed, 51 insertions

[edk2] [PATCH v3 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase

2018-02-02 Thread Dandan Bi
Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/PeiPerformanceLib/PeiPerformanceLib.c | 567 ++--- .../PeiPerformanceLib/PeiPerformanceLib.inf| 14 +- 2 files changed, 382 insertions(+), 199 deletions(-) diff --git a/Md

[edk2] [PATCH v3 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table

2018-02-02 Thread Dandan Bi
o the ACPI table. (3)Update DP to dump the performance info from the FPDT records in FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Dandan Bi (7): MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase MdeModulePkg/DxeCorePer

[edk2] [PATCH v3 1/8] MdeModulePkg:Add definitions for new Performance infrastructure

2018-02-02 Thread Dandan Bi
From: "Gao, Liming" <liming@intel.com> V3: Add "FPDT_" prefix for related definitions. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <limin

[edk2] [PATCH v2 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table

2018-01-30 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> 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/D

[edk2] [PATCH v2 7/8] MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure

2018-01-30 Thread Dandan Bi
ibuted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceSmm.c | 29 +- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/MdeModulePkg/Universal/Acpi/FirmwarePerfo

[edk2] [PATCH v2 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

2018-01-30 Thread Dandan Bi
intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../SmmCorePerformanceLib/SmmCorePerformanceLib.c | 1145 .../SmmCorePerformanceLib.inf | 10 +- .../SmmCorePerfor

[edk2] [PATCH v2 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase

2018-01-30 Thread Dandan Bi
Updated to convert Pref entry to FPDT record in PEI phase and then report the records to DxeCorePerfLib through GUID hob. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dand

[edk2] [PATCH v2 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase

2018-01-30 Thread Dandan Bi
to FirmwarePerformanceDxe. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 1389 +++- .../DxeCore

[edk2] [PATCH v2 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase

2018-01-30 Thread Dandan Bi
Add FPDT records into boot performance table for S3 phase Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformancePei.c

[edk2] [PATCH v2 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure

2018-01-30 Thread Dandan Bi
1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceDxe.c | 271 ++--- .../FirmwarePerformanceDxe.inf | 4 +- 2 files changed, 18 insertions(+), 257 deletions(-) diff --git a/MdeModulePkg/Universal/Acpi/FirmwarePerfo

[edk2] [PATCH v2 1/8] MdeModulePkg:Add definitions for new Performance infrastructure

2018-01-30 Thread Dandan Bi
From: "Gao, Liming" <liming@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming@intel.com> Signed-off-by: Dandan Bi <danda

[edk2] [PATCH v2 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table

2018-01-30 Thread Dandan Bi
ing@intel.com> Cc: Star Zeng <star.z...@intel.com> Dandan Bi (7): MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

[edk2] [patch 2/3] MdeModulePkg/BdsDxe: Remove useless Pref Code

2018-01-24 Thread Dandan Bi
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/BdsDxe/Bds.h | 3 +- MdeModulePkg/Universal/BdsDxe/BdsDxe.inf | 3 +- MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 57 +--- 3 files chan

[edk2] [patch 0/3] Remove the useless pref codes

2018-01-24 Thread Dandan Bi
c: Ruiyu Ni <ruiyu...@intel.com> Cc: Star Zeng <star.z...@intel.com> Dandan Bi (3): UefiCpuPkg/S3Resume: Remove useless pref code MdeModulePkg/BdsDxe: Remove useless Pref Code MdeModulePkg/UefiBootManagerLib: Remove the useless pref codes MdeModulePkg/Library/UefiBootManagerLib/Bm

[edk2] [patch] UefiCpuPkg/S3Resume: Add more perf enrty for S3 phase

2018-01-24 Thread Dandan Bi
oCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c b/UefiCpuPkg/Universal/Acpi

[edk2] [patch 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table

2018-01-22 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> 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/D

[edk2] [patch 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure

2018-01-22 Thread Dandan Bi
lt;star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceDxe.c | 58 ++ 1 file changed, 16 insertions(+), 42 deletions(-) diff --git a/MdeModule

[edk2] [patch 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase

2018-01-22 Thread Dandan Bi
Updated to convert Pref enrty to FPDT record in DXE phase and then export records to FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dand

[edk2] [patch 7/8] MdeModulePkg/FirmwarePerfSmm: Add check for collecting SMM records

2018-01-22 Thread Dandan Bi
ibuted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceSmm.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Universal/Acpi/FirmwarePerfo

[edk2] [patch 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

2018-01-22 Thread Dandan Bi
Updated to convert Pref entry to FPDT record in SMM phase and then export records to FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dand

[edk2] [patch 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase

2018-01-22 Thread Dandan Bi
Updated to convert Pref entry to FPDT record in PEI phase and then export records to FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com>

[edk2] [patch 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase

2018-01-22 Thread Dandan Bi
Add FPDT records into boot performance table for S3 phase Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformancePei.c

[edk2] [patch 1/8] MdeModulePkg:Add definitions for new Performance infrastructure

2018-01-22 Thread Dandan Bi
From: "Gao, Liming" <liming@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming@intel.com> Signed-off-by: Dandan Bi <danda

[edk2] [patch 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table

2018-01-22 Thread Dandan Bi
intel.com> Dandan Bi (7): MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase MdeModulePkg/FirmwarePerformancePei:Add FPDT records

[edk2] [patch] MdeModulePkg/VarCheckHii: Update data type for variable "ArrayIndex"

2018-01-08 Thread Dandan Bi
nder: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c b/MdeModulePkg/L

[edk2] [patch] PcAtChipsetPkg: Add description for new added PCD in commit e78aab9d2

2017-11-27 Thread Dandan Bi
Cc: Leo Duran <leo.du...@amd.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- PcAtChipsetPkg/PcAtChipsetPkg.uni | 9 + 1 file changed, 9 insertions(+) diff --gi

[edk2] [patch] PcAtChipsetPkg/IsaAcpiDxe: Fix VS2012 build failure

2017-11-21 Thread Dandan Bi
er declaration. Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c b/P

[edk2] [PATCH v3] MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check

2017-11-05 Thread Dandan Bi
le value listed in the vfr file. Since we have enhanced vfr to support Question value stored in bit field, so now enhance VarCheckHiiLib to support bit field check. Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contrib

[edk2] [PATCH v2 2/2] MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check

2017-11-05 Thread Dandan Bi
: Star Zeng <star.z...@intel.com> 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> --- .../VarCheckHiiLib/InternalVarCheckStructure.h |

<    1   2   3   4   5   6   7   >