[edk2] [PATCH] ShellPkg: Clarify the description of acpiview option '-s'

2019-04-02 Thread Zhichao Gao
anoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao --- .../UefiShellAcpiViewCommandLib.uni | 24 ++- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni

[edk2] [PATCH] MdeModulePkg/CapsulePei: Update the debug code to print 64bit data

2019-04-01 Thread Zhichao Gao
sion to DEBUG_ version. DEBUG_ version is recommended to use. Cc: Jian J Wang Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao --- .../CapsulePei/Commo

[edk2] [PATCH 0/2] Use a pcd to control Platform Recovery behavior

2019-04-01 Thread Zhichao Gao
Add a pcd PcdPlatformRecoverySupport to control the variable PlatformRecovery and the EFI_OS_INDICATIONS_START_PLATFORM_RECOVERY bit of variable "OsIndicationsSupported". Bret Barkelew (2): MdeModulePkg: Add a pcd to set the OS indications bit MdeModulePkg/BdsDxe: Use a pcd to set OS indic

[edk2] [PATCH 2/2] MdeModulePkg/BdsDxe: Use a pcd to set OS indications bit

2019-04-01 Thread Zhichao Gao
Cc: Jian J Wang Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao --- MdeModulePkg/Universal/BdsDxe/BdsDxe.inf | 1 + MdeModulePkg/Universal/BdsDxe/BdsEn

[edk2] [PATCH 1/2] MdeModulePkg: Add a pcd to set the OS indications bit

2019-04-01 Thread Zhichao Gao
: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao --- MdeModulePkg/MdeModulePkg.dec | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 43992b7f65..870f49749a 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b

[edk2] [PATCH 2/2] MdeModulePkg/UefiBootManagerlib: Add two event signals

2019-04-01 Thread Zhichao Gao
Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao --- MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | 2 ++ MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h | 4 +++- .../Library

[edk2] [PATCH 1/2] MdeModulePkg: Add event guids

2019-04-01 Thread Zhichao Gao
: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao --- .../Include/Guid/EventPostReadyToBoot.h | 24 +++ .../Include/Guid/EventPreReadyToBoot.h

[edk2] [PATCH 0/2] Add event signal before and after ReadyToBoot

2019-04-01 Thread Zhichao Gao
Add two event guids. And signal them immediately before and after the ReadyToBoot signal Event. Bret Barkelew (2): MdeModulePkg: Add event guids MdeModulePkg/UefiBootManagerlib: Add two event signals .../Include/Guid/EventPostReadyToBoot.h | 24 +++ .../Include/Guid/Eve

[edk2] [PATCH V7 16/17] MdeModulePkg/PeiDebugLibDebugPpi: Add PEI debug lib

2019-03-31 Thread Zhichao Gao
-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- .../Library/PeiDebugLibDebugPpi/DebugLib.c| 460

[edk2] [PATCH V7 14/17] MdeModulePkg: Add definitions for EDKII DEBUG PPI

2019-03-31 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Hao Wu --- MdeModulePkg/Include/Ppi/Debug.h | 82 MdeModulePkg

[edk2] [PATCH V7 10/17] IntelFsp2Pkg/BaseFspDebugLibSerialPort: Add new APIs

2019-03-31 Thread Zhichao Gao
ement 1.1 Signed-off-by: Zhichao Gao Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Chasel Chiu --- .../BaseFspDebugLibSerialPort/DebugLib.c | 103 +- 1 file changed, 98 insertions(

[edk2] [PATCH V7 17/17] MdeModulePkg: Add PEIM and lib to dsc file

2019-03-31 Thread Zhichao Gao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1549 Add the new PEIM DebugServicePei and library instance PeiDebugLibDebugPpi to dsc file to verify it can build correctly. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc

[edk2] [PATCH V7 15/17] MdeModulePkg: Add a PEIM to install Debug PPI

2019-03-31 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Hao Wu --- .../Universal/DebugServicePei/DebugService.h | 56 ++ .../DebugServicePei

[edk2] [PATCH V7 13/17] MdeModulePkg/PeiDxeDebugLibReportStatusCode: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Hao Wu --- .../PeiDxeDebugLibReportStatusCode/DebugLib.c | 177 +++--- 1 file changed, 147 insertions(+

[edk2] [PATCH V7 05/17] MdePkg/UefiDebugLibStdErr: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/UefiDebugLibStdErr/DebugLib.c | 107 ++- 1 file changed, 102 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V7 04/17] MdePkg/UefidebugLibConOut: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/UefiDebugLibConOut/DebugLib.c | 106 ++- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V7 12/17] IntelFramworkModulePkg/PeiDxeDebugLibReportStatusCode: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../PeiDxeDebugLibReportStatusCode/DebugLib.c | 179 +++--- 1 file changed, 148 insertions(+), 31 deletions(-) diff --git a/IntelFrameworkModu

[edk2] [PATCH V7 11/17] IntelFspPkg/BaseFspDebugLibSerialPort: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Chasel Chiu --- .../BaseFspDebugLibSerialPort/DebugLib.c | 103 +- 1 file changed, 98 insertions(

[edk2] [PATCH V7 08/17] ArmPkg/SemiHostingDebugLib: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Leif Lindholm --- ArmPkg/Library/SemiHostingDebugLib/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 dele

[edk2] [PATCH V7 09/17] OvmfPkg/PlatformDebugLibIoPort: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Acked-by: Laszlo Ersek --- .../Library/PlatformDebugLibIoPort/DebugLib.c | 106 +- 1 file changed, 101 insertions(

[edk2] [PATCH V7 07/17] MdePkg/UefiDebuglibDebugPortProtocol: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../UefiDebugLibDebugPortProtocol/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V7 06/17] MdePkg/DxeRuntimeDebugLibSerialPort: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../DxeRuntimeDebugLibSerialPort/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V7 01/17] MdePkg/DebugLib.h: Add new APIs for DebugLib

2019-03-31 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Include/Library/DebugLib.h | 52 ++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git

[edk2] [PATCH V7 03/17] MdePkg/BaseDebugLibSerialPort: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../Library/BaseDebugLibSerialPort/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V7 02/17] MdePkg/BaseDebugLibNull: Add new APIs for DebugLib

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/BaseDebugLibNull/DebugLib.c | 56 +- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/M

[edk2] [PATCH V7 00/17] Add new APIs DebugVPrint for DebugLib

2019-03-31 Thread Zhichao Gao
ion. Update the description of PeiDebugLibDebugPpi.inf. V7: Changed patch 16/17 Generate a Breakpoint, DeadLoop, or NOP based on PCD(PcdDebugPropertyMask) settings while do not locate the gEdkiiDebugPpiGuid. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Micha

[edk2] [PATCH V6 13/17] MdeModulePkg/PeiDxeDebugLibReportStatusCode: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Hao Wu --- .../PeiDxeDebugLibReportStatusCode/DebugLib.c | 177 +++--- 1 file changed, 147 insertions(+

[edk2] [PATCH V6 17/17] MdeModulePkg: Add PEIM and lib to dsc file

2019-03-31 Thread Zhichao Gao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1549 Add the new PEIM DebugServicePei and library instance PeiDebugLibDebugPpi to dsc file to verify it can build correctly. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc

[edk2] [PATCH V6 15/17] MdeModulePkg: Add a PEIM to install Debug PPI

2019-03-31 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Hao Wu --- .../Universal/DebugServicePei/DebugService.h | 56 ++ .../DebugServicePei

[edk2] [PATCH V6 11/17] IntelFspPkg/BaseFspDebugLibSerialPort: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Chasel Chiu --- .../BaseFspDebugLibSerialPort/DebugLib.c | 103 +- 1 file changed, 98 insertions(

[edk2] [PATCH V6 16/17] MdeModulePkg/PeiDebugLibDebugPpi: Add PEI debug lib

2019-03-31 Thread Zhichao Gao
-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- .../Library/PeiDebugLibDebugPpi/DebugLib.c| 452

[edk2] [PATCH V6 08/17] ArmPkg/SemiHostingDebugLib: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Leif Lindholm --- ArmPkg/Library/SemiHostingDebugLib/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 dele

[edk2] [PATCH V6 12/17] IntelFramworkModulePkg/PeiDxeDebugLibReportStatusCode: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../PeiDxeDebugLibReportStatusCode/DebugLib.c | 179 +++--- 1 file changed, 148 insertions(+), 31 deletions(-) diff --git a/IntelFrameworkModu

[edk2] [PATCH V6 00/17] Add new APIs DebugVPrint for DebugLib

2019-03-31 Thread Zhichao Gao
ion. Update the description of PeiDebugLibDebugPpi.inf. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Laszlo Ersek Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Nate DeSim

[edk2] [PATCH V6 04/17] MdePkg/UefidebugLibConOut: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/UefiDebugLibConOut/DebugLib.c | 106 ++- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V6 07/17] MdePkg/UefiDebuglibDebugPortProtocol: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../UefiDebugLibDebugPortProtocol/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V6 05/17] MdePkg/UefiDebugLibStdErr: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/UefiDebugLibStdErr/DebugLib.c | 107 ++- 1 file changed, 102 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V6 10/17] IntelFsp2Pkg/BaseFspDebugLibSerialPort: Add new APIs

2019-03-31 Thread Zhichao Gao
ement 1.1 Signed-off-by: Zhichao Gao Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Chasel Chiu --- .../BaseFspDebugLibSerialPort/DebugLib.c | 103 +- 1 file changed, 98 insertions(

[edk2] [PATCH V6 14/17] MdeModulePkg: Add definitions for EDKII DEBUG PPI

2019-03-31 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Hao Wu --- MdeModulePkg/Include/Ppi/Debug.h | 82 MdeModulePkg

[edk2] [PATCH V6 09/17] OvmfPkg/PlatformDebugLibIoPort: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Acked-by: Laszlo Ersek --- .../Library/PlatformDebugLibIoPort/DebugLib.c | 106 +- 1 file changed, 101 insertions(

[edk2] [PATCH V6 03/17] MdePkg/BaseDebugLibSerialPort: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../Library/BaseDebugLibSerialPort/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V6 06/17] MdePkg/DxeRuntimeDebugLibSerialPort: Add new APIs

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../DxeRuntimeDebugLibSerialPort/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V6 02/17] MdePkg/BaseDebugLibNull: Add new APIs for DebugLib

2019-03-31 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/BaseDebugLibNull/DebugLib.c | 56 +- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/M

[edk2] [PATCH V6 01/17] MdePkg/DebugLib.h: Add new APIs for DebugLib

2019-03-31 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Include/Library/DebugLib.h | 52 ++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git

[edk2] [PATCH V5 13/17] MdeModulePkg/PeiDxeDebugLibReportStatusCode: Add new APIs

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Hao Wu --- .../PeiDxeDebugLibReportStatusCode/DebugLib.c | 177 +++--- 1 file changed, 147 insertions(+

[edk2] [PATCH V5 12/17] IntelFramworkModulePkg/PeiDxeDebugLibReportStatusCode: Add new APIs

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../PeiDxeDebugLibReportStatusCode/DebugLib.c | 179 +++--- 1 file changed, 148 insertions(+), 31 deletions(-) diff --git a/IntelFrameworkModu

[edk2] [PATCH V5 15/17] MdeModulePkg: Add a PEIM to install Debug PPI

2019-03-28 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Hao Wu --- .../Universal/DebugServicePei/DebugService.h | 56 ++ .../DebugServicePei

[edk2] [PATCH V5 17/17] MdeModulePkg: Add PEIM and lib to dsc file

2019-03-28 Thread Zhichao Gao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1549 Add the new PEIM DebugServicePei and library instance PeiDebugLibDebugPpi to dsc file to verify it can build correctly. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc

[edk2] [PATCH V5 14/17] MdeModulePkg: Add definitions for EDKII DEBUG PPI

2019-03-28 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Hao Wu --- MdeModulePkg/Include/Ppi/Debug.h | 82 MdeModulePkg

[edk2] [PATCH V5 16/17] MdeModulePkg/PeiDebugLibDebugPpi: Add PEI debug lib

2019-03-28 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Hao Wu --- .../Library/PeiDebugLibDebugPpi/DebugLib.c| 456 ++ .../PeiDebugLibDebugPpi.inf

[edk2] [PATCH V5 10/17] IntelFsp2Pkg/BaseFspDebugLibSerialPort: Add new APIs

2019-03-28 Thread Zhichao Gao
ement 1.1 Signed-off-by: Zhichao Gao Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Chasel Chiu --- .../BaseFspDebugLibSerialPort/DebugLib.c | 103 +- 1 file changed, 98 insertions(

[edk2] [PATCH V5 11/17] IntelFspPkg/BaseFspDebugLibSerialPort: Add new APIs

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Chasel Chiu --- .../BaseFspDebugLibSerialPort/DebugLib.c | 103 +- 1 file changed, 98 insertions(

[edk2] [PATCH V5 05/17] MdePkg/UefiDebugLibStdErr: Add new APIs

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/UefiDebugLibStdErr/DebugLib.c | 107 ++- 1 file changed, 102 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V5 00/17] Add new APIs DebugVPrint for DebugLib

2019-03-28 Thread Zhichao Gao
ebugLibDebugPpi. Rename the mDebugPpi to mEdkiiDebugPpi because it has a same name in DeubServicePpi. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Laszlo Ersek Cc: Chasel

[edk2] [PATCH V5 01/17] MdePkg/DebugLib.h: Add new APIs for DebugLib

2019-03-28 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Include/Library/DebugLib.h | 52 ++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git

[edk2] [PATCH V5 06/17] MdePkg/DxeRuntimeDebugLibSerialPort: Add new APIs

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../DxeRuntimeDebugLibSerialPort/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V5 04/17] MdePkg/UefidebugLibConOut: Add new APIs

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/UefiDebugLibConOut/DebugLib.c | 106 ++- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V5 09/17] OvmfPkg/PlatformDebugLibIoPort: Add new APIs

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Acked-by: Laszlo Ersek --- .../Library/PlatformDebugLibIoPort/DebugLib.c | 106 +- 1 file changed, 101 insertions(

[edk2] [PATCH V5 08/17] ArmPkg/SemiHostingDebugLib: Add new APIs

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Leif Lindholm --- ArmPkg/Library/SemiHostingDebugLib/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 dele

[edk2] [PATCH V5 07/17] MdePkg/UefiDebuglibDebugPortProtocol: Add new APIs

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../UefiDebugLibDebugPortProtocol/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH V5 02/17] MdePkg/BaseDebugLibNull: Add new APIs for DebugLib

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/BaseDebugLibNull/DebugLib.c | 56 +- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/M

[edk2] [PATCH V5 03/17] MdePkg/BaseDebugLibSerialPort: Add new APIs

2019-03-28 Thread Zhichao Gao
ution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../Library/BaseDebugLibSerialPort/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/M

[edk2] [PATCH 4/6] CryptoPkg/BaseCryptLib: Add new API VerifyEKUsInPkcs7Signature

2019-03-24 Thread Zhichao Gao
From: Bret Barkelew REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1402 Add the API VerifyEKUsInPkcs7Signature to check if x509 cert has any or all EKUs. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Ting Ye Cc: Gang Wei Cc: Wang Jian J Cc

[edk2] [PATCH 5/6] CryptoPkg/BaseCryptLib.h: Add PKCS1v2 (RSAES-OAEP) support.

2019-03-24 Thread Zhichao Gao
From: Bret Barkelew REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1403 Add prototype of new API Pkcs1v2Encrypt in header file to support PKCS1v2 (RSAES-OAEP) encrypt. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Ting Ye Cc: Gang Wei Cc: Wang

[edk2] [PATCH 1/6] CryptoPkg/BaseCryptLib.h: Add new API to get organization name

2019-03-24 Thread Zhichao Gao
From: Bret Barkelew REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1401 Add a prototype declaration of the new API X509GetOrganizationName in the header file. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Ting Ye Cc: Gang Wei Cc: Wang Jian J Cc

[edk2] [PATCH 6/6] CryptoPkg/BaseCryptLib: Add PKCS1v2 (RSAES-OAEP) support.

2019-03-24 Thread Zhichao Gao
From: Bret Barkelew REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1403 Add support for PKCS 1v2 RSAES-OAEP PKI encryption in BaseCryptLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Ting Ye Cc: Gang Wei Cc: Wang Jian J Cc: Liming Gao Cc

[edk2] [PATCH 2/6] CryptoPkg/BaseCryptLib: Add new API to get organization name

2019-03-24 Thread Zhichao Gao
: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Ting Ye Cc: Gang Wei Cc: Wang Jian J Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c | 102 +++--- CryptoPkg/Library/BaseCryptLib/Pk

[edk2] [PATCH 0/6] Add new APIs for BaseCryptLib

2019-03-24 Thread Zhichao Gao
Add new API to get organization name Add new API VerifyEKUsInPkcs7Signature Add PKCS1v2 (RSAES-OAEP) support Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Ting Ye Cc: Gang Wei Cc: Wang Jian J Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc

[edk2] [PATCH 3/6] CryptoPkg/BaseCryptLib.h: Add new API VerifyEKUsInPkcs7Signature

2019-03-24 Thread Zhichao Gao
From: Bret Barkelew REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1402 Add a prototype of new API VerifyEKUsInPkcs7Signature. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Ting Ye Cc: Gang Wei Cc: Wang Jian J Cc: Liming Gao Cc: Sean Brogan

[edk2] [PATCH V2 1/2] MdeModulePkg/CapsuleRuntimeDxe: IA32 add cache flush function

2019-03-21 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Ard Biesheuvel --- .../Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c | 35 +--- .../Universal/CapsuleRuntimeDxe/CapsuleCache.c | 63

[edk2] [PATCH V2 0/2] Change reset logic related on capsule

2019-03-21 Thread Zhichao Gao
Add CapsuleCacheWriteBack for IA ARCH before runtime. Remove DoS3 in ResetSystemRuntimeDxe. V2: Adjust the code that would not change the logic of arm ARCH. Fix some build errors because of type convertion. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc

[edk2] [PATCH V2 2/2] MdeModulePkg/ResetSystemRuntimeDxe: Remove DoS3 in warm reset

2019-03-21 Thread Zhichao Gao
psule update function. Change-Id: I7af8221528c7baee6d16daee79837c7e9584b232 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao --- .../Universal/ResetSystemRuntimeDxe/ResetSystem.c

[edk2] [PATCH 0/2] FmpDevicePkg/FmpDxe: Change the default Image Type ID

2019-03-21 Thread Zhichao Gao
: Zhichao Gao Cc: Liming Gao Cc: Michael D Kinney Zhichao Gao (2): FmpDevicePkg/FmpDevucePkg.dec: Add a pcd FmpDevicePkg/FmpDxe: Change the default Image Type ID FmpDevicePkg/FmpDevicePkg.dec | 8 +++- FmpDevicePkg/FmpDxe/FmpDxe.c | 26 ++ FmpDevicePkg

[edk2] [PATCH 2/2] FmpDevicePkg/FmpDxe: Change the default Image Type ID

2019-03-21 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Liming Gao Cc: Michael D Kinney --- FmpDevicePkg/FmpDxe/FmpDxe.c | 26 ++ FmpDevicePkg/FmpDxe/FmpDxe.inf| 3 ++- FmpDevicePkg/FmpDxe/FmpDxeLib.inf | 3 ++- 3 files changed, 22 insertions(+), 10 deletions

[edk2] [PATCH 1/2] FmpDevicePkg/FmpDevucePkg.dec: Add a pcd

2019-03-21 Thread Zhichao Gao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1638 Add a pcd named PcdFmpDeviceImageDefaultTypeIdGuid. This is used to provide a default Image Type Id for FmpDxe driver instead of the gEfiCallerIdGuid. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc

[edk2] [PATCH] PcAtChipsetPkg/PcatChipsetPkg.dsc: Add a driver to build

2019-03-21 Thread Zhichao Gao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1646 Add the IdeControllerDxe driver to the [Components] section to make sure it would build correctly. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Ray Ni Cc: Liming Gao --- PcAtChipsetPkg

[edk2] [PATCH] IntelSiliconPkg/IntelSiliconPkg.dsc: Add a driver to build

2019-03-21 Thread Zhichao Gao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1647 Add a driver MicrocodeFlashAccessLibNull.inf to the [Components] section to make sure it would build correctly. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Ray Ni Cc: Rangasai V Chaganty Cc

[edk2] [PATCH V4 15/17] MdeModulePkg: Add a PEIM to install Debug PPI

2019-03-21 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- .../Universal/DebugServicePei/DebugService.c | 60 ++ .../Universal/DebugServicePei

[edk2] [PATCH V4 16/17] MdeModulePkg/PeiDebugLibDebugPpi: Add PEI debug lib

2019-03-21 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- .../Library/PeiDebugLibDebugPpi/DebugLib.c | 456 + .../PeiDebugLibDebugPpi

[edk2] [PATCH V4 14/17] MdeModulePkg: Add definitions for EDKII DEBUG PPI

2019-03-21 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- MdeModulePkg/Include/Ppi/Debug.h | 82 MdeModulePkg/MdeModulePkg.dec| 3

[edk2] [PATCH V4 17/17] MdeModulePkg: Add PEIM and lib to dsc file

2019-03-21 Thread Zhichao Gao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1395 Add the new PEIM DebugServicePei and library instance PeiDebugLibDebugPpi to dsc file to verify it can build correctly. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc

[edk2] [PATCH V4 09/17] OvmfPkg/PlatformDebugLibIoPort: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 106 +- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/Ov

[edk2] [PATCH V4 13/17] MdeModulePkg/PeiDxeDebugLibReportStatusCode: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- .../PeiDxeDebugLibReportStatusCode/DebugLib.c | 171 + 1 file changed, 144 insertions(+), 27 deletions(-) diff --

[edk2] [PATCH V4 12/17] IntelFramworkModulePkg/PeiDxeDebugLibReportStatusCode: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- .../PeiDxeDebugLibReportStatusCode/DebugLib.c | 173 + 1 file changed, 145 insertions(+), 28 deletions(-) diff --git a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatu

[edk2] [PATCH V4 10/17] IntelFsp2Pkg/BaseFspDebugLibSerialPort: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Chasel Chiu --- .../Library/BaseFspDebugLibSerialPort/DebugLib.c | 103 - 1 file changed, 98 insertions(+), 5 deletions(-)

[edk2] [PATCH V4 11/17] IntelFspPkg/BaseFspDebugLibSerialPort: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Chasel Chiu --- .../Library/BaseFspDebugLibSerialPort/DebugLib.c | 103 - 1 file changed, 98 insertions(+), 5 deletions(-)

[edk2] [PATCH V4 08/17] ArmPkg/SemiHostingDebugLib: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- ArmPkg/Library/SemiHostingDebugLib/DebugLib.c | 106 -- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/ArmPkg/Li

[edk2] [PATCH V4 07/17] MdePkg/UefiDebuglibDebugPortProtocol: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../UefiDebugLibDebugPortProtocol/DebugLib.c | 106 - 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/MdePkg/Li

[edk2] [PATCH V4 03/17] MdePkg/BaseDebugLibSerialPort: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c | 106 +-- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/MdePkg/Li

[edk2] [PATCH V4 05/17] MdePkg/UefiDebugLibStdErr: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/UefiDebugLibStdErr/DebugLib.c | 107 +-- 1 file changed, 102 insertions(+), 5 deletions(-) diff --git a/MdePkg/Li

[edk2] [PATCH V4 06/17] MdePkg/DxeRuntimeDebugLibSerialPort: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- .../DxeRuntimeDebugLibSerialPort/DebugLib.c| 106 - 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/MdePkg/Li

[edk2] [PATCH V4 04/17] MdePkg/UefidebugLibConOut: Add new APIs

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/UefiDebugLibConOut/DebugLib.c | 106 +-- 1 file changed, 101 insertions(+), 5 deletions(-) diff --git a/MdePkg/Li

[edk2] [PATCH V4 02/17] MdePkg/BaseDebugLibNull: Add new APIs for DebugLib

2019-03-21 Thread Zhichao Gao
ff-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Library/BaseDebugLibNull/DebugLib.c | 56 +- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/MdePkg/Li

[edk2] [PATCH V4 00/17] Add new APIs DebugVPrint for DebugLib

2019-03-21 Thread Zhichao Gao
kModulePkg/PeiDxeDebugLibReportStatusCode. While the format string is too long just truncate it instead of return. Fix and update some functions' comments. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Jo

[edk2] [PATCH V4 01/17] MdePkg/DebugLib.h: Add new APIs for DebugLib

2019-03-21 Thread Zhichao Gao
-off-by: Zhichao Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Reviewed-by: Liming Gao --- MdePkg/Include/Library/DebugLib.h | 52 ++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/MdePkg

[edk2] [PATCH 0/2] Change reset logic related on capsule

2019-03-19 Thread Zhichao Gao
Add CapsuleCacheWriteBack for IA ARCH. Remove DoS3 in ResetSystemRuntimeDxe. Zhichao Gao (2): MdeModulePkg/CapsuleRuntimeDxe: Merge changes form arm to all ARCH MdeModulePkg/ResetSystemRuntimeDxe: Remove DoS3 in warm reset .../Universal/CapsuleRuntimeDxe/CapsuleReset.c | 21

[edk2] [PATCH 2/2] MdeModulePkg/ResetSystemRuntimeDxe: Remove DoS3 in warm reset

2019-03-19 Thread Zhichao Gao
psule update function. Change-Id: I7af8221528c7baee6d16daee79837c7e9584b232 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao --- .../Universal/ResetSystemRuntimeDxe/ResetSystem.c

[edk2] [PATCH 1/2] MdeModulePkg/CapsuleRuntimeDxe: Merge changes form arm to all ARCH

2019-03-19 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao --- .../Universal/CapsuleRuntimeDxe/CapsuleReset.c | 21 .../{Arm/CapsuleReset.c => CapsuleResetNull.c} |

[edk2] [PATCH V3 17/17] MdeModulePkg: Add PEIM and lib to dsc file

2019-03-19 Thread Zhichao Gao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1395 Add the new PEIM DebugServicePei and library instance PeiDebugLibDebugPpi to dsc file to verify it can build correctly. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc

[edk2] [PATCH V3 16/17] MdeModulePkg/PeiDebugLibDebugPpi: Add PEI debug lib

2019-03-19 Thread Zhichao Gao
Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew --- .../Library/PeiDebugLibDebugPpi/DebugLib.c | 469 + .../PeiDebugLibDebugPpi

  1   2   >