From: Zhichao Gao <zhichao.gao@intel.com>
To: edk2-devel@lists.01.org
Cc: Michael D Kinney <michael.d.kinney@intel.com>,
Leif Lindholm <leif.lindholm@linaro.org>,
Ard Biesheuvel <ard.biesheuvel@linaro.org>,
Jordan Justen <jordan.l.justen@intel.com>,
Laszlo Ersek <lersek@redhat.com>,
Chasel Chiu <chasel.chiu@intel.com>,
Nate DeSimone <nathaniel.l.desimone@intel.com>,
Star Zeng <star.zeng@intel.com>,
Jian J Wang <jian.j.wang@intel.com>, Hao Wu <hao.a.wu@intel.com>,
Ray Ni <ray.ni@intel.com>, Liming Gao <liming.gao@intel.com>,
Sean Brogan <sean.brogan@microsoft.com>,
Michael Turner <Michael.Turner@microsoft.com>,
Bret Barkelew <Bret.Barkelew@microsoft.com>
Subject: [PATCH V2 00/17] Add a new API DebugVPrint for DebugLib
Date: Fri, 15 Mar 2019 13:17:32 +0800 [thread overview]
Message-ID: <20190315051749.6564-1-zhichao.gao@intel.com> (raw)
Add a new API DebugVPrint to all the instances of DebugLib.
This API is added to provide a function who want to implement
special debug function with '...' parameter.
Add a PEIM to install gEdkiiDebugPpiGuid, and implement a PEI
debug library instance base on it. All PEIMs except pei core
type can use the PeiDebugLibDebugPpi to reduce its image size.
V2:
Remove redundant code in DebugPrint.
Fix some coding sytle issues.
Remove some unenforced descirption in the comments of DebugVPrint.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Turner <Michael.Turner@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Liming Gao (1):
MdeModulePkg/PeiDebugLibDebugPpi: Add PEI debug lib
Zhichao Gao (16):
MdePkg/DebugLib.h: Add a new api DebugVPrint for DebugLib
MdePkg/BaseDebugLibNull: Add a new api DebugVPrint for DebugLib
MdePkg/BaseDebugLibSerialPort: Add a new api DebugVPrint
MdePkg/UefidebugLibConOut: Add a new api DebugVPrint
MdePkg/UefiDebugLibStdErr: Add a new api DebugVPrint
MdePkg/DxeRuntimeDebugLibSerialPort: Add a new api DebugVPrint
MdePkg/UefiDebuglibDebugPortProtocol: Add a new api DebugVPrint
ArmPkg/SemiHostingDebugLib: Add a new api DebugVPrint
OvmfPkg/PlatformDebugLibIoPort: Add a new api DebugVPrint
IntelFsp2Pkg/BaseFspDebugLibSerialPort: Add a new api DebugVPrint
IntelFspPkg/BaseFspDebugLibSerialPort: Add a new api DebugVPrint
IntelFramworkModulePkg/PeiDxeDebugLibReportStatusCode: Add a new api
MdeModulePkg/PeiDxeDebugLibReportStatusCode: Add a new api
MdeModulePkg: Add definitions for EDKII DEBUG PPI
MdeModulePkg: Add a PEIM to install Debug PPI
MdeModulePkg: Add PEIM and lib to dsc file
ArmPkg/Library/SemiHostingDebugLib/DebugLib.c | 38 ++-
.../PeiDxeDebugLibReportStatusCode/DebugLib.c | 40 ++-
.../Library/BaseFspDebugLibSerialPort/DebugLib.c | 42 ++-
.../Library/BaseFspDebugLibSerialPort/DebugLib.c | 42 ++-
MdeModulePkg/Include/Ppi/Debug.h | 90 ++++++
.../Library/PeiDebugLibDebugPpi/DebugLib.c | 302 +++++++++++++++++++++
.../PeiDebugLibDebugPpi/PeiDebugLibDebugPpi.inf | 55 ++++
.../PeiDxeDebugLibReportStatusCode/DebugLib.c | 38 ++-
MdeModulePkg/MdeModulePkg.dec | 3 +
MdeModulePkg/MdeModulePkg.dsc | 3 +
.../Universal/DebugServicePei/DebugService.c | 68 +++++
.../Universal/DebugServicePei/DebugService.h | 64 +++++
.../Universal/DebugServicePei/DebugServicePei.c | 54 ++++
.../Universal/DebugServicePei/DebugServicePei.inf | 51 ++++
.../Universal/DebugServicePei/DebugServicePei.uni | 20 ++
MdePkg/Include/Library/DebugLib.h | 33 ++-
MdePkg/Library/BaseDebugLibNull/DebugLib.c | 28 +-
MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c | 39 ++-
.../DxeRuntimeDebugLibSerialPort/DebugLib.c | 40 ++-
MdePkg/Library/UefiDebugLibConOut/DebugLib.c | 38 ++-
.../UefiDebugLibDebugPortProtocol/DebugLib.c | 39 ++-
MdePkg/Library/UefiDebugLibStdErr/DebugLib.c | 39 ++-
OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 38 ++-
23 files changed, 1145 insertions(+), 59 deletions(-)
create mode 100644 MdeModulePkg/Include/Ppi/Debug.h
create mode 100644 MdeModulePkg/Library/PeiDebugLibDebugPpi/DebugLib.c
create mode 100644 MdeModulePkg/Library/PeiDebugLibDebugPpi/PeiDebugLibDebugPpi.inf
create mode 100644 MdeModulePkg/Universal/DebugServicePei/DebugService.c
create mode 100644 MdeModulePkg/Universal/DebugServicePei/DebugService.h
create mode 100644 MdeModulePkg/Universal/DebugServicePei/DebugServicePei.c
create mode 100644 MdeModulePkg/Universal/DebugServicePei/DebugServicePei.inf
create mode 100644 MdeModulePkg/Universal/DebugServicePei/DebugServicePei.uni
--
2.16.2.windows.1
next reply other threads:[~2019-03-15 5:18 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-15 5:17 Zhichao Gao [this message]
2019-03-15 5:17 ` [PATCH V2 01/17] MdePkg/DebugLib.h: Add a new api DebugVPrint for DebugLib Zhichao Gao
2019-03-15 6:15 ` Jordan Justen
2019-03-18 0:14 ` Gao, Zhichao
2019-03-18 6:20 ` Jordan Justen
2019-03-18 15:09 ` Gao, Liming
2019-03-18 18:34 ` Jordan Justen
2019-03-19 14:45 ` Gao, Liming
2019-03-19 15:44 ` stephano
2019-03-15 5:17 ` [PATCH V2 02/17] MdePkg/BaseDebugLibNull: " Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 03/17] MdePkg/BaseDebugLibSerialPort: Add a new api DebugVPrint Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 04/17] MdePkg/UefidebugLibConOut: " Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 05/17] MdePkg/UefiDebugLibStdErr: " Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 06/17] MdePkg/DxeRuntimeDebugLibSerialPort: " Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 07/17] MdePkg/UefiDebuglibDebugPortProtocol: " Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 08/17] ArmPkg/SemiHostingDebugLib: " Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 09/17] OvmfPkg/PlatformDebugLibIoPort: " Zhichao Gao
2019-03-20 16:13 ` Laszlo Ersek
2019-03-15 5:17 ` [PATCH V2 10/17] IntelFsp2Pkg/BaseFspDebugLibSerialPort: " Zhichao Gao
2019-03-15 7:31 ` Chiu, Chasel
2019-03-15 5:17 ` [PATCH V2 11/17] IntelFspPkg/BaseFspDebugLibSerialPort: " Zhichao Gao
2019-03-15 7:32 ` Chiu, Chasel
2019-03-15 5:17 ` [PATCH V2 12/17] IntelFramworkModulePkg/PeiDxeDebugLibReportStatusCode: Add a new api Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 13/17] MdeModulePkg/PeiDxeDebugLibReportStatusCode: " Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 14/17] MdeModulePkg: Add definitions for EDKII DEBUG PPI Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 15/17] MdeModulePkg: Add a PEIM to install Debug PPI Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 16/17] MdeModulePkg/PeiDebugLibDebugPpi: Add PEI debug lib Zhichao Gao
2019-03-15 5:17 ` [PATCH V2 17/17] MdeModulePkg: Add PEIM and lib to dsc file Zhichao Gao
2019-03-15 5:54 ` Andrew Fish
2019-04-01 6:17 ` Jordan Justen
2019-04-01 6:33 ` Jordan Justen
2019-04-01 6:37 ` Gao, Zhichao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190315051749.6564-1-zhichao.gao@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox