]>
Commit | Line | Data |
---|---|---|
6bfbb5f0 | 1 | ## @file\r |
85ea851e | 2 | # Instance of PCD Library using PCD Protocol.\r |
e386b444 | 3 | #\r |
c92c1790 | 4 | # There are two PCD protocols as follows:\r |
ec735bb2 | 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 | |
85ea851e | 10 | #\r |
ec735bb2 | 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 | |
fdb5bc72 LG |
16 | # Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can only use this DxePcdLib \r |
17 | # in their initialization without any issues to access Dynamic and DynamicEx PCD. They can't \r | |
18 | # access Dynamic and DynamicEx PCD in the implementation of runtime services and SMI handlers.\r | |
19 | # Because EFI_PCD_PROTOCOL is DXE protocol that is not aviable in OS runtime phase. \r | |
20 | #\r | |
c92c1790 | 21 | # Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r |
e386b444 | 22 | #\r |
19388d29 | 23 | # This program and the accompanying materials\r |
e386b444 | 24 | # are licensed and made available under the terms and conditions of the BSD License\r |
25 | # which accompanies this distribution. The full text of the license may be found at\r | |
2fc59a00 | 26 | # http://opensource.org/licenses/bsd-license.php.\r |
e386b444 | 27 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
28 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
29 | #\r | |
30 | #\r | |
6bfbb5f0 | 31 | ##\r |
e386b444 | 32 | \r |
e386b444 | 33 | [Defines]\r |
34 | INF_VERSION = 0x00010005\r | |
35 | BASE_NAME = DxePcdLib\r | |
c92c1790 | 36 | MODULE_UNI_FILE = DxePcdLib.uni\r |
e386b444 | 37 | FILE_GUID = af97eb89-4cc6-45f8-a514-ca025b346480\r |
38 | MODULE_TYPE = DXE_DRIVER\r | |
39 | VERSION_STRING = 1.0\r | |
b7c5912a | 40 | LIBRARY_CLASS = PcdLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER SMM_CORE UEFI_APPLICATION UEFI_DRIVER \r |
e386b444 | 41 | \r |
e386b444 | 42 | #\r |
43 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r | |
44 | #\r | |
45 | \r | |
6bfbb5f0 | 46 | [Sources]\r |
e386b444 | 47 | DxePcdLib.c\r |
e386b444 | 48 | \r |
49 | \r | |
e386b444 | 50 | [Packages]\r |
51 | MdePkg/MdePkg.dec\r | |
52 | \r | |
53 | \r | |
e386b444 | 54 | [LibraryClasses]\r |
55 | BaseMemoryLib\r | |
56 | UefiBootServicesTableLib\r | |
57 | DebugLib\r | |
58 | \r | |
59 | \r | |
e386b444 | 60 | [Protocols]\r |
c92c1790 | 61 | gPcdProtocolGuid ## SOMETIMES_CONSUMES\r |
ec735bb2 | 62 | gEfiPcdProtocolGuid ## CONSUMES\r |
96d6d004 SZ |
63 | gGetPcdInfoProtocolGuid ## SOMETIMES_CONSUMES\r |
64 | gEfiGetPcdInfoProtocolGuid ## SOMETIMES_CONSUMES\r | |
3397c6f5 SZ |
65 | \r |
66 | [Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]\r | |
ec735bb2 | 67 | gEfiPcdProtocolGuid\r |
25366245 | 68 | \r |