• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2# Instance of PCD Library using PCD PPI.
3#
4# There are two PCD PPIs as follows:
5#   1) PCD_PPI
6#      It is EDKII implementation which support Dynamic/DynamicEx Pcds.
7#   2) EFI_PEI_PCD_PPI
8#      It is defined by PI specification 1.2, Vol 3 which only support dynamicEx
9#      type Pcd.
10# For dynamicEx type PCD, it is compatible between PCD_PPI and EFI_PEI_PCD_PPI.
11# This library instance uses the PCD_PPI to handle dynamic PCD request and use
12# EFI_PEI_PCD_PPI to handle dynamicEx type PCD.
13#
14# This library instance assume the PCD_PPI and EFI_PEI_PCD_PPI are both installed early.
15#
16# PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries
17#
18# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
19#
20#  This program and the accompanying materials
21#  are licensed and made available under the terms and conditions of the BSD License
22#  which accompanies this distribution. The full text of the license may be found at
23#  http://opensource.org/licenses/bsd-license.php.
24#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
25#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
26#
27#
28##
29
30[Defines]
31  INF_VERSION                    = 0x00010005
32  BASE_NAME                      = PeiPcdLib
33  MODULE_UNI_FILE                = PeiPcdLib.uni
34  FILE_GUID                      = 9dbf6f25-0da2-4a1d-8e12-e78de6ab4d0e
35  MODULE_TYPE                    = PEIM
36  VERSION_STRING                 = 1.0
37  LIBRARY_CLASS                  = PcdLib|PEIM PEI_CORE SEC
38
39
40#
41#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC (EBC is for build only)
42#
43
44[Sources]
45  PeiPcdLib.c
46
47
48[Packages]
49  MdePkg/MdePkg.dec
50
51
52[LibraryClasses]
53  BaseMemoryLib
54  PeiServicesLib
55  DebugLib
56
57
58[Ppis]
59  gPcdPpiGuid                                   ## SOMETIMES_CONSUMES
60  gEfiPeiPcdPpiGuid                             ## CONSUMES
61  gGetPcdInfoPpiGuid                            ## SOMETIMES_CONSUMES
62  gEfiGetPcdInfoPpiGuid                         ## SOMETIMES_CONSUMES
63
64[Depex.common.PEIM]
65  gEfiPeiPcdPpiGuid
66
67