]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Instance of PCD Library using PCD Protocol.\r | |
3 | #\r | |
4 | # There are two PCD PROTOCOLs as follows:\r | |
5 | # 1) PCD_PROTOCOL\r | |
6 | # It is EDKII implementation which support Dynamic/DynamicEx Pcds.\r | |
7 | # 2) EFI_PCD_PROTOCOL\r | |
8 | # It is defined by PI specification 1.2, Vol 3 which only support dynamicEx \r | |
9 | # type Pcd.\r | |
10 | #\r | |
11 | # For dynamicEx type PCD, it is compatible between PCD_PROTOCOL and EFI_PCD_PROTOCOL.\r | |
12 | #\r | |
13 | # This library instance uses the PCD_PROTOCOL to handle dynamic PCD request and use\r | |
14 | # EFI_PCD_PROTOCOL to handle dynamicEx type PCD.\r | |
15 | #\r | |
16 | # Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>\r | |
17 | #\r | |
18 | # This program and the accompanying materials\r | |
19 | # are licensed and made available under the terms and conditions of the BSD License\r | |
20 | # which accompanies this distribution. The full text of the license may be found at\r | |
21 | # http://opensource.org/licenses/bsd-license.php.\r | |
22 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
23 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
24 | #\r | |
25 | #\r | |
26 | ##\r | |
27 | \r | |
28 | [Defines]\r | |
29 | INF_VERSION = 0x00010005\r | |
30 | BASE_NAME = DxePcdLib\r | |
31 | FILE_GUID = af97eb89-4cc6-45f8-a514-ca025b346480\r | |
32 | MODULE_TYPE = DXE_DRIVER\r | |
33 | VERSION_STRING = 1.0\r | |
34 | LIBRARY_CLASS = PcdLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER SMM_CORE UEFI_APPLICATION UEFI_DRIVER \r | |
35 | \r | |
36 | #\r | |
37 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r | |
38 | #\r | |
39 | \r | |
40 | [Sources]\r | |
41 | DxePcdLib.c\r | |
42 | \r | |
43 | \r | |
44 | [Packages]\r | |
45 | MdePkg/MdePkg.dec\r | |
46 | \r | |
47 | \r | |
48 | [LibraryClasses]\r | |
49 | BaseMemoryLib\r | |
50 | UefiBootServicesTableLib\r | |
51 | DebugLib\r | |
52 | \r | |
53 | \r | |
54 | [Protocols]\r | |
55 | gPcdProtocolGuid ## CONSUMES\r | |
56 | gEfiPcdProtocolGuid ## CONSUMES\r | |
57 | gGetPcdInfoProtocolGuid ## SOMETIMES_CONSUMES\r | |
58 | gEfiGetPcdInfoProtocolGuid ## SOMETIMES_CONSUMES\r | |
59 | \r | |
60 | [Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r | |
61 | gEfiPcdProtocolGuid\r | |
62 | \r |