X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FPeiPcdLib%2FPeiPcdLib.inf;h=84f1a91d7feea6a9e553fb56c2bd2920948a9df7;hp=f48f929a44fcb0c273e4c27c42777b00c5773dda;hb=2fc59a003ed9104f9feebe0e418f2a04a50f3284;hpb=1c280088ec83160a5f190b3d0ba796b224ee23b3 diff --git a/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf b/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf index f48f929a44..84f1a91d7f 100644 --- a/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf +++ b/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf @@ -1,20 +1,31 @@ -#/** @file -# PCD Library instance implemented with PCD PPI. +## @file +# Instance of PCD Library using PCD PPI. # -# This library instance implement the APIs listed -# in PCD library class defined in MDE library specification. -# It is used by module in PEI phase. -# Copyright (c) 2007, Intel Corporation +# 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. # -# All rights reserved. This program and the accompanying materials +# 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 - 2010, 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 +# 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,16 +33,14 @@ FILE_GUID = 9dbf6f25-0da2-4a1d-8e12-e78de6ab4d0e MODULE_TYPE = PEIM VERSION_STRING = 1.0 - LIBRARY_CLASS = PcdLib|PEIM PEI_CORE - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 + LIBRARY_CLASS = PcdLib|PEIM PEI_CORE SEC # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only) # -[Sources.common] +[Sources] PeiPcdLib.c @@ -41,13 +50,14 @@ [LibraryClasses] BaseMemoryLib - PeiServicesTablePointerLib PeiServicesLib DebugLib [Ppis] - gPcdPpiGuid # PPI ALWAYS_CONSUMED - -[Depex] - gPcdPpiGuid \ No newline at end of file + gPcdPpiGuid ## CONSUMES + gEfiPeiPcdPpiGuid ## CONSUMES + +[depex] + gEfiPeiPcdPpiGuid + \ No newline at end of file