-#/** @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
[Defines]\r
INF_VERSION = 0x00010005\r
MODULE_TYPE = PEIM\r
VERSION_STRING = 1.0\r
LIBRARY_CLASS = PcdLib|PEIM PEI_CORE SEC\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
\r
\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
PeiPcdLib.c\r
\r
\r
\r
\r
[Ppis]\r
- gPcdPpiGuid # PPI ALWAYS_CONSUMED\r
-\r
+ gPcdPpiGuid ## CONSUMES\r
+ gEfiPeiPcdPpiGuid ## CONSUMES\r
+ \r
[depex]\r
- gPcdPpiGuid\r
+ gEfiPeiPcdPpiGuid\r
+
\ No newline at end of file