]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/PeiDebugLibDebugPpi/PeiDebugLibDebugPpi.inf
MdeModulePkg/PeiDebugLibDebugPpi: Add PEI debug lib
[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 # This program and the accompanying materials
17 # are licensed and made available under the terms and conditions of the BSD License
18 # which accompanies this distribution. The full text of the license may be found at
19 # http://opensource.org/licenses/bsd-license.php
20 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 #
23 ##
24
25 [Defines]
26 INF_VERSION = 0x00010005
27 BASE_NAME = PeiDebugLibDebugPpi
28 FILE_GUID = 2E08836C-4D1C-42F7-BBBE-EC5D25F1FDD4
29 MODULE_TYPE = PEIM
30 VERSION_STRING = 1.0
31 LIBRARY_CLASS = DebugLib|PEIM
32
33 #
34 # The following information is for reference only and not required by the build tools.
35 #
36 # VALID_ARCHITECTURES = IA32 X64 EBC
37 #
38
39 [Sources]
40 DebugLib.c
41
42 [Packages]
43 MdePkg/MdePkg.dec
44 MdeModulePkg/MdeModulePkg.dec
45
46 [LibraryClasses]
47 PcdLib
48 BaseMemoryLib
49 DebugPrintErrorLevelLib
50 PeiServicesLib
51 PeiServicesTablePointerLib
52 BaseLib
53
54 [Ppis]
55 gEdkiiDebugPpiGuid ## CONSUMES
56
57 [Pcd]
58 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## SOMETIMES_CONSUMES
59 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES
60 gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel ## CONSUMES
61
62 [Depex]
63 gEdkiiDebugPpiGuid
64