2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2008-10-28 10:45:52 +01:00
|
|
|
# Instance of PCD Library using PCD Protocol.
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
2014-08-27 11:33:09 +02:00
|
|
|
# There are two PCD protocols as follows:
|
2009-11-24 04:29:57 +01:00
|
|
|
# 1) PCD_PROTOCOL
|
|
|
|
# It is EDKII implementation which support Dynamic/DynamicEx Pcds.
|
|
|
|
# 2) EFI_PCD_PROTOCOL
|
2018-06-27 15:11:33 +02:00
|
|
|
# It is defined by PI specification 1.2, Vol 3 which only support dynamicEx
|
2009-11-24 04:29:57 +01:00
|
|
|
# type Pcd.
|
2008-10-28 10:45:52 +01:00
|
|
|
#
|
2009-11-24 04:29:57 +01:00
|
|
|
# For dynamicEx type PCD, it is compatible between PCD_PROTOCOL and EFI_PCD_PROTOCOL.
|
|
|
|
#
|
|
|
|
# This library instance uses the PCD_PROTOCOL to handle dynamic PCD request and use
|
|
|
|
# EFI_PCD_PROTOCOL to handle dynamicEx type PCD.
|
|
|
|
#
|
2018-06-27 15:11:33 +02:00
|
|
|
# Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can only use this DxePcdLib
|
|
|
|
# in their initialization without any issues to access Dynamic and DynamicEx PCD. They can't
|
2014-11-19 03:47:02 +01:00
|
|
|
# access Dynamic and DynamicEx PCD in the implementation of runtime services and SMI handlers.
|
2018-06-27 15:11:33 +02:00
|
|
|
# Because EFI_PCD_PROTOCOL is DXE protocol that is not aviable in OS runtime phase.
|
2014-11-19 03:47:02 +01:00
|
|
|
#
|
2018-06-27 15:11:33 +02:00
|
|
|
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
2010-04-23 18:37:43 +02:00
|
|
|
# This program and the accompanying materials
|
2007-06-22 08:57:39 +02:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
2010-06-25 23:56:02 +02:00
|
|
|
# http://opensource.org/licenses/bsd-license.php.
|
2007-06-22 08:57:39 +02:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2007-06-22 08:57:39 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = DxePcdLib
|
2014-08-27 11:33:09 +02:00
|
|
|
MODULE_UNI_FILE = DxePcdLib.uni
|
2007-06-22 08:57:39 +02:00
|
|
|
FILE_GUID = af97eb89-4cc6-45f8-a514-ca025b346480
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
2018-07-02 03:21:05 +02:00
|
|
|
LIBRARY_CLASS = PcdLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER SMM_CORE UEFI_APPLICATION UEFI_DRIVER
|
2007-06-22 08:57:39 +02:00
|
|
|
|
|
|
|
#
|
2018-07-02 03:21:05 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2007-06-22 08:57:39 +02:00
|
|
|
DxePcdLib.c
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseMemoryLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
DebugLib
|
|
|
|
|
|
|
|
|
|
|
|
[Protocols]
|
2014-08-27 11:33:09 +02:00
|
|
|
gPcdProtocolGuid ## SOMETIMES_CONSUMES
|
2009-11-24 04:29:57 +01:00
|
|
|
gEfiPcdProtocolGuid ## CONSUMES
|
2013-11-20 01:44:25 +01:00
|
|
|
gGetPcdInfoProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiGetPcdInfoProtocolGuid ## SOMETIMES_CONSUMES
|
2011-07-27 10:54:57 +02:00
|
|
|
|
|
|
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
2009-11-24 04:29:57 +01:00
|
|
|
gEfiPcdProtocolGuid
|
2008-08-18 11:24:07 +02:00
|
|
|
|