]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / PeiPcdLib / PeiPcdLib.inf
CommitLineData
6bfbb5f0 1## @file\r
85ea851e 2# Instance of PCD Library using PCD PPI.\r
3#\r
ec735bb2 4# There are two PCD PPIs as follows:\r
9095d37b 5# 1) PCD_PPI\r
ec735bb2 6# It is EDKII implementation which support Dynamic/DynamicEx Pcds.\r
7# 2) EFI_PEI_PCD_PPI\r
9095d37b 8# It is defined by PI specification 1.2, Vol 3 which only support dynamicEx\r
ec735bb2 9# type Pcd.\r
10# For dynamicEx type PCD, it is compatible between PCD_PPI and EFI_PEI_PCD_PPI.\r
11# This library instance uses the PCD_PPI to handle dynamic PCD request and use\r
12# EFI_PEI_PCD_PPI to handle dynamicEx type PCD.\r
13#\r
14# This library instance assume the PCD_PPI and EFI_PEI_PCD_PPI are both installed early.\r
15#\r
85ea851e 16# PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries\r
e386b444 17#\r
9095d37b 18# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
e386b444 19#\r
9344f092 20# SPDX-License-Identifier: BSD-2-Clause-Patent\r
e386b444 21#\r
22#\r
6bfbb5f0 23##\r
e386b444 24\r
e386b444 25[Defines]\r
26 INF_VERSION = 0x00010005\r
27 BASE_NAME = PeiPcdLib\r
c92c1790 28 MODULE_UNI_FILE = PeiPcdLib.uni\r
e386b444 29 FILE_GUID = 9dbf6f25-0da2-4a1d-8e12-e78de6ab4d0e\r
30 MODULE_TYPE = PEIM\r
31 VERSION_STRING = 1.0\r
123489db 32 LIBRARY_CLASS = PcdLib|PEIM PEI_CORE SEC\r
e386b444 33\r
34\r
e386b444 35#\r
3cb0a311 36# VALID_ARCHITECTURES = IA32 X64 EBC (EBC is for build only)\r
e386b444 37#\r
38\r
6bfbb5f0 39[Sources]\r
e386b444 40 PeiPcdLib.c\r
e386b444 41\r
42\r
e386b444 43[Packages]\r
44 MdePkg/MdePkg.dec\r
45\r
46\r
e386b444 47[LibraryClasses]\r
48 BaseMemoryLib\r
1c280088 49 PeiServicesLib\r
e386b444 50 DebugLib\r
51\r
52\r
e386b444 53[Ppis]\r
c92c1790 54 gPcdPpiGuid ## SOMETIMES_CONSUMES\r
ec735bb2 55 gEfiPeiPcdPpiGuid ## CONSUMES\r
96d6d004
SZ
56 gGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES\r
57 gEfiGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES\r
58\r
3397c6f5 59[Depex.common.PEIM]\r
ec735bb2 60 gEfiPeiPcdPpiGuid\r
c92c1790 61\r