2 # Debug Lib instance through DebugServicePei for PEI phase
4 # This module use gEdkiiDebugPpiGuid to implement the PEI DebugLib for reduce
5 # the size of PEIMs which consume DebugLib.
7 # Notes: this library instance can be used only the PEIM
8 # DebugSerivicePei is runed and install the gEdkiiDebugPpiGuid.
9 # And this library contian the depex of gEfiPeiPcdPpiGuid, that
10 # means the PcdPei.inf cannot use this library instance. The
11 # PcdPei.inf should use the same library instance that the
12 # PEIM DebugServicePei consumes.
14 # Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
16 # SPDX-License-Identifier: BSD-2-Clause-Patent
21 INF_VERSION = 0x00010005
22 BASE_NAME = PeiDebugLibDebugPpi
23 FILE_GUID = 2E08836C-4D1C-42F7-BBBE-EC5D25F1FDD4
26 LIBRARY_CLASS = DebugLib|PEIM
29 # The following information is for reference only and not required by the build tools.
31 # VALID_ARCHITECTURES = IA32 X64 EBC
39 MdeModulePkg/MdeModulePkg.dec
44 DebugPrintErrorLevelLib
46 PeiServicesTablePointerLib
50 gEdkiiDebugPpiGuid ## CONSUMES
53 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## SOMETIMES_CONSUMES
54 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES
55 gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel ## CONSUMES