]> 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 05e33f82e883d54fb60568b141c49d5ad899f18d..2e1b14923895589ca8e7622a27e5491235d09187 100644 (file)
@@ -1,9 +1,21 @@
-#/** @file\r
+## @file\r
 # Instance of PCD Library using PCD PPI.\r
 #\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 - 2008, Intel Corporation\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
@@ -13,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
@@ -28,7 +40,7 @@
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC (EBC is for build only)\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   PeiPcdLib.c\r
 \r
 \r
@@ -43,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