]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Instance of PCD Library using PCD PPI.\r | |
3 | #\r | |
4 | # There are two PCD PPIs as follows:\r | |
5 | # 1) PCD_PPI\r | |
6 | # It is EDKII implementation which support Dynamic/DynamicEx Pcds.\r | |
7 | # 2) EFI_PEI_PCD_PPI\r | |
8 | # It is defined by PI specification 1.2, Vol 3 which only support dynamicEx\r | |
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 | |
16 | # PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries\r | |
17 | #\r | |
18 | # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
19 | #\r | |
20 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
21 | #\r | |
22 | #\r | |
23 | ##\r | |
24 | \r | |
25 | [Defines]\r | |
26 | INF_VERSION = 0x00010005\r | |
27 | BASE_NAME = PeiPcdLib\r | |
28 | MODULE_UNI_FILE = PeiPcdLib.uni\r | |
29 | FILE_GUID = 9dbf6f25-0da2-4a1d-8e12-e78de6ab4d0e\r | |
30 | MODULE_TYPE = PEIM\r | |
31 | VERSION_STRING = 1.0\r | |
32 | LIBRARY_CLASS = PcdLib|PEIM PEI_CORE SEC\r | |
33 | \r | |
34 | \r | |
35 | #\r | |
36 | # VALID_ARCHITECTURES = IA32 X64 EBC (EBC is for build only)\r | |
37 | #\r | |
38 | \r | |
39 | [Sources]\r | |
40 | PeiPcdLib.c\r | |
41 | \r | |
42 | \r | |
43 | [Packages]\r | |
44 | MdePkg/MdePkg.dec\r | |
45 | \r | |
46 | \r | |
47 | [LibraryClasses]\r | |
48 | BaseMemoryLib\r | |
49 | PeiServicesLib\r | |
50 | DebugLib\r | |
51 | \r | |
52 | \r | |
53 | [Ppis]\r | |
54 | gPcdPpiGuid ## SOMETIMES_CONSUMES\r | |
55 | gEfiPeiPcdPpiGuid ## CONSUMES\r | |
56 | gGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES\r | |
57 | gEfiGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES\r | |
58 | \r | |
59 | [Depex.common.PEIM]\r | |
60 | gEfiPeiPcdPpiGuid\r | |
61 | \r |