]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/PeiDebugLibDebugPpi/PeiDebugLibDebugPpi.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Library / PeiDebugLibDebugPpi / PeiDebugLibDebugPpi.inf
1 ## @file
2 # Debug Lib instance through DebugServicePei for PEI phase
3 #
4 # This module use gEdkiiDebugPpiGuid to implement the PEI DebugLib for reduce
5 # the size of PEIMs which consume DebugLib.
6 #
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.
13 #
14 # Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
15 #
16 # SPDX-License-Identifier: BSD-2-Clause-Patent
17 #
18 ##
19
20 [Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = PeiDebugLibDebugPpi
23 FILE_GUID = 2E08836C-4D1C-42F7-BBBE-EC5D25F1FDD4
24 MODULE_TYPE = PEIM
25 VERSION_STRING = 1.0
26 LIBRARY_CLASS = DebugLib|PEIM
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64 EBC
32 #
33
34 [Sources]
35 DebugLib.c
36
37 [Packages]
38 MdePkg/MdePkg.dec
39 MdeModulePkg/MdeModulePkg.dec
40
41 [LibraryClasses]
42 PcdLib
43 BaseMemoryLib
44 DebugPrintErrorLevelLib
45 PeiServicesLib
46 PeiServicesTablePointerLib
47 BaseLib
48
49 [Ppis]
50 gEdkiiDebugPpiGuid ## CONSUMES
51
52 [Pcd]
53 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## SOMETIMES_CONSUMES
54 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES
55 gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel ## CONSUMES
56
57 [Depex]
58 gEdkiiDebugPpiGuid
59