-#/** @file\r
-# PCD Library instance implemented with PCD PPI.\r
+## @file\r
+# Instance of PCD Library using PCD PPI.\r
#\r
-# This library instance implement the APIs listed \r
-# in PCD library class defined in MDE library specification.\r
-# It is used by module in PEI phase.\r
-# Copyright (c) 2007, Intel Corporation\r
+# There are two PCD PPIs as follows:\r
+# 1) PCD_PPI \r
+# It is EDKII implementation which support Dynamic/DynamicEx Pcds.\r
+# 2) EFI_PEI_PCD_PPI\r
+# It is defined by PI specification 1.2, Vol 3 which only support dynamicEx \r
+# type Pcd.\r
+# For dynamicEx type PCD, it is compatible between PCD_PPI and EFI_PEI_PCD_PPI.\r
+# This library instance uses the PCD_PPI to handle dynamic PCD request and use\r
+# EFI_PEI_PCD_PPI to handle dynamicEx type PCD.\r
#\r
-# All rights reserved. This program and the accompanying materials\r
+# This library instance assume the PCD_PPI and EFI_PEI_PCD_PPI are both installed early.\r
+#\r
+# PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries\r
+#\r
+# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
#\r
-#**/\r
+##\r
\r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = PeiPcdLib\r
FILE_GUID = 9dbf6f25-0da2-4a1d-8e12-e78de6ab4d0e\r
MODULE_TYPE = PEIM\r
VERSION_STRING = 1.0\r
- LIBRARY_CLASS = PcdLib|PEIM PEI_CORE \r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
+ LIBRARY_CLASS = PcdLib|PEIM PEI_CORE SEC\r
\r
\r
#\r
-# The following information is for reference only and not required by the build tools.\r
-#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)\r
#\r
\r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
-\r
-[Sources.common]\r
+[Sources]\r
PeiPcdLib.c\r
\r
\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
[Packages]\r
MdePkg/MdePkg.dec\r
\r
\r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
[LibraryClasses]\r
BaseMemoryLib\r
- PeiServicesTablePointerLib\r
+ PeiServicesLib\r
DebugLib\r
\r
\r
-################################################################################\r
-#\r
-# PPI C Name Section - list of PPI and PPI Notify C Names that this module\r
-# uses or produces.\r
-#\r
-################################################################################\r
-\r
[Ppis]\r
- gPcdPpiGuid # PPI ALWAYS_CONSUMED\r
-\r
+ gPcdPpiGuid ## CONSUMES\r
+ gEfiPeiPcdPpiGuid ## CONSUMES\r
+ \r
+[depex]\r
+ gEfiPeiPcdPpiGuid\r
+
\ No newline at end of file