]>
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 - 2014, Intel Corporation. All rights reserved.<BR>\r | |
19 | #\r | |
20 | # This program and the accompanying materials\r | |
21 | # are licensed and made available under the terms and conditions of the BSD License\r | |
22 | # which accompanies this distribution. The full text of the license may be found at\r | |
23 | # http://opensource.org/licenses/bsd-license.php.\r | |
24 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
25 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
26 | #\r | |
27 | #\r | |
28 | ##\r | |
29 | \r | |
30 | [Defines]\r | |
31 | INF_VERSION = 0x00010005\r | |
32 | BASE_NAME = PeiPcdLib\r | |
33 | MODULE_UNI_FILE = PeiPcdLib.uni\r | |
34 | FILE_GUID = 9dbf6f25-0da2-4a1d-8e12-e78de6ab4d0e\r | |
35 | MODULE_TYPE = PEIM\r | |
36 | VERSION_STRING = 1.0\r | |
37 | LIBRARY_CLASS = PcdLib|PEIM PEI_CORE SEC\r | |
38 | \r | |
39 | \r | |
40 | #\r | |
41 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)\r | |
42 | #\r | |
43 | \r | |
44 | [Sources]\r | |
45 | PeiPcdLib.c\r | |
46 | \r | |
47 | \r | |
48 | [Packages]\r | |
49 | MdePkg/MdePkg.dec\r | |
50 | \r | |
51 | \r | |
52 | [LibraryClasses]\r | |
53 | BaseMemoryLib\r | |
54 | PeiServicesLib\r | |
55 | DebugLib\r | |
56 | \r | |
57 | \r | |
58 | [Ppis]\r | |
59 | gPcdPpiGuid ## SOMETIMES_CONSUMES\r | |
60 | gEfiPeiPcdPpiGuid ## CONSUMES\r | |
61 | gGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES\r | |
62 | gEfiGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES\r | |
63 | \r | |
64 | [Depex.common.PEIM]\r | |
65 | gEfiPeiPcdPpiGuid\r | |
66 | \r |