-#/** @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 - 2014, 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
+# http://opensource.org/licenses/bsd-license.php.\r
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
#\r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = PeiPcdLib\r
+ MODULE_UNI_FILE = PeiPcdLib.uni\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
-# 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
[LibraryClasses]\r
BaseMemoryLib\r
- PeiServicesTablePointerLib\r
PeiServicesLib\r
DebugLib\r
\r
\r
[Ppis]\r
- gPcdPpiGuid # PPI ALWAYS_CONSUMED\r
+ gPcdPpiGuid ## SOMETIMES_CONSUMES\r
+ gEfiPeiPcdPpiGuid ## CONSUMES\r
+ gGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES\r
+ gEfiGetPcdInfoPpiGuid ## SOMETIMES_CONSUMES\r
+\r
+[Depex.common.PEIM]\r
+ gEfiPeiPcdPpiGuid\r
\r
-[Depex]\r
- gPcdPpiGuid
\ No newline at end of file