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