summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
blob: 75d0a630dde9feb0c070c30b882b3696e9d9a144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
## @file
# Instance of PCD Library using PCD PPI.
#
# There are two PCD PPIs as follows:
#   1) PCD_PPI
#      It is EDKII implementation which support Dynamic/DynamicEx Pcds.
#   2) EFI_PEI_PCD_PPI
#      It is defined by PI specification 1.2, Vol 3 which only support dynamicEx
#      type Pcd.
# For dynamicEx type PCD, it is compatible between PCD_PPI and EFI_PEI_PCD_PPI.
# This library instance uses the PCD_PPI to handle dynamic PCD request and use
# EFI_PEI_PCD_PPI to handle dynamicEx type PCD.
#
# This library instance assume the PCD_PPI and EFI_PEI_PCD_PPI are both installed early.
#
# PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries
#
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
#
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
#
##

[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = PeiPcdLib
  MODULE_UNI_FILE                = PeiPcdLib.uni
  FILE_GUID                      = 9dbf6f25-0da2-4a1d-8e12-e78de6ab4d0e
  MODULE_TYPE                    = PEIM
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = PcdLib|PEIM PEI_CORE SEC


#
#  VALID_ARCHITECTURES           = IA32 X64 EBC (EBC is for build only)
#

[Sources]
  PeiPcdLib.c


[Packages]
  MdePkg/MdePkg.dec


[LibraryClasses]
  BaseMemoryLib
  PeiServicesLib
  DebugLib


[Ppis]
  gPcdPpiGuid                                   ## SOMETIMES_CONSUMES
  gEfiPeiPcdPpiGuid                             ## CONSUMES
  gGetPcdInfoPpiGuid                            ## SOMETIMES_CONSUMES
  gEfiGetPcdInfoPpiGuid                         ## SOMETIMES_CONSUMES

[Depex.common.PEIM]
  gEfiPeiPcdPpiGuid