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 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
19 | #
|
---|
20 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
21 | #
|
---|
22 | #
|
---|
23 | ##
|
---|
24 |
|
---|
25 | [Defines]
|
---|
26 | INF_VERSION = 0x00010005
|
---|
27 | BASE_NAME = PeiPcdLib
|
---|
28 | MODULE_UNI_FILE = PeiPcdLib.uni
|
---|
29 | FILE_GUID = 9dbf6f25-0da2-4a1d-8e12-e78de6ab4d0e
|
---|
30 | MODULE_TYPE = PEIM
|
---|
31 | VERSION_STRING = 1.0
|
---|
32 | LIBRARY_CLASS = PcdLib|PEIM PEI_CORE SEC
|
---|
33 |
|
---|
34 |
|
---|
35 | #
|
---|
36 | # VALID_ARCHITECTURES = IA32 X64 EBC (EBC is for build only)
|
---|
37 | #
|
---|
38 |
|
---|
39 | [Sources]
|
---|
40 | PeiPcdLib.c
|
---|
41 |
|
---|
42 |
|
---|
43 | [Packages]
|
---|
44 | MdePkg/MdePkg.dec
|
---|
45 |
|
---|
46 |
|
---|
47 | [LibraryClasses]
|
---|
48 | BaseMemoryLib
|
---|
49 | PeiServicesLib
|
---|
50 | DebugLib
|
---|
51 |
|
---|
52 |
|
---|
53 | [Ppis]
|
---|
54 | gPcdPpiGuid ## SOMETIMES_CONSUMES
|
---|
55 | gEfiPeiPcdPpiGuid ## CONSUMES
|
---|
56 | gGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES
|
---|
57 | gEfiGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES
|
---|
58 |
|
---|
59 | [Depex.common.PEIM]
|
---|
60 | gEfiPeiPcdPpiGuid
|
---|
61 |
|
---|