]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/PeiDebugLibDebugPpi: Add PEI debug lib
authorLiming Gao <liming.gao@intel.com>
Thu, 14 Mar 2019 09:03:50 +0000 (17:03 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 2 Apr 2019 04:49:29 +0000 (12:49 +0800)
commit66f50a4b0d49ebef713ffdc59d60f193cffcfa01
tree692cc240558245772bf9c7b80407ce7dd14ac4b6
parent2bc82244638aa24b63598183b9c5972a8c03ff9e
MdeModulePkg/PeiDebugLibDebugPpi: Add PEI debug lib

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1549

Add a PEI debug library instance PeiDebugLibDebugPpi base on
DebugPpi. Using the combination of the DebugServicePei and
this lib instance can reduce the image size of PEI drivers.

Notes: this library instance can be used only the PEIM
DebugSerivicePei is runed and install the gEdkiiDebugPpiGuid.
And this library contian the depx of gEfiPeiPcdPpiGuid, that
means the PcdPei.inf cannot use this library instance. The
PcdPei.inf should use the same library instance that the
PEIM DebugServicePei consumes.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhichao Gao <zhichao.gao@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: Star Zeng <star.zeng@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>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Library/PeiDebugLibDebugPpi/DebugLib.c [new file with mode: 0644]
MdeModulePkg/Library/PeiDebugLibDebugPpi/PeiDebugLibDebugPpi.inf [new file with mode: 0644]