summaryrefslogtreecommitdiff
path: root/MdePkg/Library/DxePcdLib/DxePcdLib.inf
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-24 03:29:57 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-24 03:29:57 +0000
commitec735bb2054bf0d1ec093e821caa93556ef246e0 (patch)
tree872b267b8dcc0d30d317eebf7075b4d258432a1f /MdePkg/Library/DxePcdLib/DxePcdLib.inf
parent6c74c5383a77e023030c343fd83d5b625e5b01d1 (diff)
downloadedk2-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/DxePcdLib/DxePcdLib.inf')
-rw-r--r--MdePkg/Library/DxePcdLib/DxePcdLib.inf19
1 files changed, 15 insertions, 4 deletions
diff --git a/MdePkg/Library/DxePcdLib/DxePcdLib.inf b/MdePkg/Library/DxePcdLib/DxePcdLib.inf
index cd2a1c8e17..2958ed0a7c 100644
--- a/MdePkg/Library/DxePcdLib/DxePcdLib.inf
+++ b/MdePkg/Library/DxePcdLib/DxePcdLib.inf
@@ -1,9 +1,19 @@
#/** @file
# Instance of PCD Library using PCD Protocol.
#
-# PCD Library that uses the PCD Protocol to access Dynamic and DynamicEx PCD entries.
+# There are two PCD PPIs as follows:
+# 1) PCD_PROTOCOL
+# It is EDKII implementation which support Dynamic/DynamicEx Pcds.
+# 2) EFI_PCD_PROTOCOL
+# It is defined by PI specification 1.2, Vol 3 which only support dynamicEx
+# type Pcd.
#
-# Copyright (c) 2007 - 2008, Intel Corporation.
+# For dynamicEx type PCD, it is compatible between PCD_PROTOCOL and EFI_PCD_PROTOCOL.
+#
+# This library instance uses the PCD_PROTOCOL to handle dynamic PCD request and use
+# EFI_PCD_PROTOCOL to handle dynamicEx type PCD.
+#
+# 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,7 +54,8 @@
[Protocols]
gPcdProtocolGuid ## CONSUMES
-
+ gEfiPcdProtocolGuid ## CONSUMES
+
[Depex]
- gPcdProtocolGuid
+ gEfiPcdProtocolGuid