2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2008-10-28 10:45:52 +01:00
|
|
|
# Instance of PCD Library using PCD PPI.
|
|
|
|
#
|
2009-11-24 04:29:57 +01:00
|
|
|
# There are two PCD PPIs as follows:
|
2018-06-27 15:11:33 +02:00
|
|
|
# 1) PCD_PPI
|
2009-11-24 04:29:57 +01:00
|
|
|
# It is EDKII implementation which support Dynamic/DynamicEx Pcds.
|
|
|
|
# 2) EFI_PEI_PCD_PPI
|
2018-06-27 15:11:33 +02:00
|
|
|
# It is defined by PI specification 1.2, Vol 3 which only support dynamicEx
|
2009-11-24 04:29:57 +01:00
|
|
|
# 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.
|
|
|
|
#
|
2008-10-28 10:45:52 +01:00
|
|
|
# PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
2018-06-27 15:11:33 +02:00
|
|
|
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
2019-04-04 01:06:00 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2007-06-22 08:57:39 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = PeiPcdLib
|
2014-08-27 11:33:09 +02:00
|
|
|
MODULE_UNI_FILE = PeiPcdLib.uni
|
2007-06-22 08:57:39 +02:00
|
|
|
FILE_GUID = 9dbf6f25-0da2-4a1d-8e12-e78de6ab4d0e
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
VERSION_STRING = 1.0
|
2007-09-27 18:54:18 +02:00
|
|
|
LIBRARY_CLASS = PcdLib|PEIM PEI_CORE SEC
|
2007-06-22 08:57:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
#
|
2018-07-02 03:21:05 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC (EBC is for build only)
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2007-06-22 08:57:39 +02:00
|
|
|
PeiPcdLib.c
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseMemoryLib
|
2007-09-04 08:11:47 +02:00
|
|
|
PeiServicesLib
|
2007-06-22 08:57:39 +02:00
|
|
|
DebugLib
|
|
|
|
|
|
|
|
|
|
|
|
[Ppis]
|
2014-08-27 11:33:09 +02:00
|
|
|
gPcdPpiGuid ## SOMETIMES_CONSUMES
|
2009-11-24 04:29:57 +01:00
|
|
|
gEfiPeiPcdPpiGuid ## CONSUMES
|
2013-11-20 01:44:25 +01:00
|
|
|
gGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES
|
|
|
|
|
2011-07-27 10:54:57 +02:00
|
|
|
[Depex.common.PEIM]
|
2009-11-24 04:29:57 +01:00
|
|
|
gEfiPeiPcdPpiGuid
|
2014-08-27 11:33:09 +02:00
|
|
|
|