Instance of PCD Library using PCD Protocol.
There are two PCD protocols as follows:
1)
PCD_PROTOCOL
It is EDKII implementation which support Dynamic/DynamicEx Pcds.
2) EFI_PCD_PROTOCOL
It is defined by PI specification 1.2, Vol 3 which only support dynamicEx
type Pcd.
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.
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
access Dynamic and DynamicEx PCD in the implementation of runtime services and SMI handlers.
Because EFI_PCD_PROTOCOL is DXE protocol that is not aviable in OS runtime phase.
Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials
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
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Version of INF file specification | 0x00010005 |
Module Guid | af97eb89-4cc6-45f8-a514-ca025b346480 |
Module Type | DXE_DRIVER |
Module Version | 1.0 |
Produced Library Class | PcdLib |
Supported Module Types | DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER SMM_CORE UEFI_APPLICATION UEFI_DRIVER |
Name | Package |
gPcdProtocolGuid | MdePkg |
gEfiPcdProtocolGuid | MdePkg |
gGetPcdInfoProtocolGuid | MdePkg |
gEfiGetPcdInfoProtocolGuid | MdePkg |
gEfiPcdProtocolGuid
gEfiPcdProtocolGuid
gEfiPcdProtocolGuid
gEfiPcdProtocolGuid