diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-24 03:29:57 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-24 03:29:57 +0000 |
commit | ec735bb2054bf0d1ec093e821caa93556ef246e0 (patch) | |
tree | 872b267b8dcc0d30d317eebf7075b4d258432a1f /MdePkg/Library/PeiPcdLib/PeiPcdLib.inf | |
parent | 6c74c5383a77e023030c343fd83d5b625e5b01d1 (diff) | |
download | edk2-platforms-ec735bb2054bf0d1ec093e821caa93556ef246e0.tar.xz |
1, PeiPcdLib use EFI_PEI_PCD_PPI defined in PI 1.2 to handle dynamicEx type PCD request.
2, DxePcdLib use EFI_PCD_PROTOCOL defined in PI 1.2 to handle dynamicEx type PCD request.
3, There is no change for dynamic type PCD.
4, Refine the INF's comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9473 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeiPcdLib/PeiPcdLib.inf')
-rw-r--r-- | MdePkg/Library/PeiPcdLib/PeiPcdLib.inf | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf b/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf index 17363b1450..a714147c12 100644 --- a/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf +++ b/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf @@ -1,9 +1,21 @@ #/** @file
# Instance of PCD Library using PCD PPI.
#
+# There are two PCD PPIs as follows:
+# 1) PCD_PPI
+# It is EDKII implementation which support Dynamic/DynamicEx Pcds.
+# 2) EFI_PEI_PCD_PPI
+# It is defined by PI specification 1.2, Vol 3 which only support dynamicEx
+# type Pcd.
+# For dynamicEx type PCD, it is compatible between PCD_PPI and EFI_PEI_PCD_PPI.
+# This library instance uses the PCD_PPI to handle dynamic PCD request and use
+# EFI_PEI_PCD_PPI to handle dynamicEx type PCD.
+#
+# This library instance assume the PCD_PPI and EFI_PEI_PCD_PPI are both installed early.
+#
# PCD Library that uses the PCD PPI to access Dynamic and DynamicEx PCD entries
#
-# Copyright (c) 2007 - 2008, Intel Corporation
+# Copyright (c) 2007 - 2009, Intel Corporation
#
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -44,6 +56,8 @@ [Ppis]
gPcdPpiGuid ## CONSUMES
-
+ gEfiPeiPcdPpiGuid ## CONSUMES
+
[depex]
- gPcdPpiGuid
+ gEfiPeiPcdPpiGuid
+
\ No newline at end of file |