X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=MdePkg%2FLibrary%2FPeiPcdLib%2FPeiPcdLib.inf;h=84f1a91d7feea6a9e553fb56c2bd2920948a9df7;hb=2fc59a003ed9104f9feebe0e418f2a04a50f3284;hp=b4900cf64dbd08e6eec815f3cef990d37c5b10f5;hpb=e34ecc8a1e7f396278b630e2c6e4022e762faf5a;p=mirror_edk2.git diff --git a/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf b/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf index b4900cf64d..84f1a91d7f 100644 --- a/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf +++ b/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf @@ -1,19 +1,31 @@ -#/** @file +## @file # Instance of PCD Library using PCD PPI. # +# There are two PCD PPIs as follows: +# 1) PCD_PPI +# It is EDKII implementation which support Dynamic/DynamicEx Pcds. +# 2) EFI_PEI_PCD_PPI +# 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_PPI and EFI_PEI_PCD_PPI. +# This library instance uses the PCD_PPI to handle dynamic PCD request and use +# EFI_PEI_PCD_PPI to handle dynamicEx type PCD. +# +# This library instance assume the PCD_PPI and EFI_PEI_PCD_PPI are both installed early. +# # PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries # -# Copyright (c) 2007, Intel Corporation +# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.
# -# All rights reserved. This program and the accompanying materials +# 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 +# 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. # # -#**/ +## [Defines] INF_VERSION = 0x00010005 @@ -22,14 +34,13 @@ MODULE_TYPE = PEIM VERSION_STRING = 1.0 LIBRARY_CLASS = PcdLib|PEIM PEI_CORE SEC - EDK_RELEASE_VERSION = 0x00020000 # # VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only) # -[Sources.common] +[Sources] PeiPcdLib.c @@ -44,7 +55,9 @@ [Ppis] - gPcdPpiGuid # PPI ALWAYS_CONSUMED - + gPcdPpiGuid ## CONSUMES + gEfiPeiPcdPpiGuid ## CONSUMES + [depex] - gPcdPpiGuid + gEfiPeiPcdPpiGuid + \ No newline at end of file