X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FPeiPcdLib%2FPeiPcdLib.inf;h=84f1a91d7feea6a9e553fb56c2bd2920948a9df7;hp=25c1e7801c26683176a34bb5d10e8f45345ccf10;hb=2fc59a003ed9104f9feebe0e418f2a04a50f3284;hpb=e386b444c88b01c5a14ca846b6ba10dcf5536e05 diff --git a/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf b/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf index 25c1e7801c..84f1a91d7f 100644 --- a/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf +++ b/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf @@ -1,95 +1,63 @@ -#/** @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 Section - statements that will be processed to create a Makefile. -# -################################################################################ [Defines] INF_VERSION = 0x00010005 BASE_NAME = PeiPcdLib 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 -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 X64 IPF EBC -# -################################################################################ # -# Sources Section - list of files that are required for the build to succeed. +# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only) # -################################################################################ -[Sources.common] +[Sources] PeiPcdLib.c - CommonHeader.h -################################################################################ -# -# Includes Section - list of Include locations that are required for -# this module. -# -################################################################################ - -[Includes] - $(WORKSPACE)/MdePkg\Include/Library - -################################################################################ -# -# Package Dependency Section - list of Package files that are required for -# this module. -# -################################################################################ - [Packages] MdePkg/MdePkg.dec -################################################################################ -# -# Library Class Section - list of Library Classes that are required for -# this module. -# -################################################################################ - [LibraryClasses] BaseMemoryLib - PeiServicesTablePointerLib + PeiServicesLib DebugLib -################################################################################ -# -# PPI C Name Section - list of PPI and PPI Notify C Names that this module -# uses or produces. -# -################################################################################ - [Ppis] - gPcdPpiGuid # PPI ALWAYS_CONSUMED - + gPcdPpiGuid ## CONSUMES + gEfiPeiPcdPpiGuid ## CONSUMES + +[depex] + gEfiPeiPcdPpiGuid + \ No newline at end of file