]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1. Correct File header to ## @file
[mirror_edk2.git] / MdePkg / Library / PeiPcdLib / PeiPcdLib.inf
index 92940180555e51b37208fff0139e89993209642f..2e1b14923895589ca8e7622a27e5491235d09187 100644 (file)
@@ -1,10 +1,21 @@
-#/** @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
+# 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\r
 #\r
 #  All rights reserved. This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -14,7 +25,7 @@
 #  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
@@ -46,7 +55,9 @@
 \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