diff options
author | Liming Gao <liming.gao@intel.com> | 2014-11-25 08:14:01 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2014-11-25 08:14:01 +0000 |
commit | e8f8d8d4bab8b9248b2d1396ce579c762cb22432 (patch) | |
tree | 9baf55919615d9f0bb553b889d0a766d24cb8aac /MdePkg/Library | |
parent | 8aa711bee90998e1f9c50d217c92d4cd049d77ff (diff) | |
download | edk2-e8f8d8d4bab8b9248b2d1396ce579c762cb22432.tar.gz |
MdePkg DxePcdLib: Updates DxePcdLib instance comments.
Describe PCD service can't be used at Runtime phase.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
(Sync patch r16403 from main trunk.)
(cherry picked from commit 5347e8d5c32bb359a7d04e232e5cd7293af4e0bb)
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@16441 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r-- | MdePkg/Library/DxePcdLib/DxePcdLib.inf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MdePkg/Library/DxePcdLib/DxePcdLib.inf b/MdePkg/Library/DxePcdLib/DxePcdLib.inf index dfdd412115..23cd5d6e70 100644 --- a/MdePkg/Library/DxePcdLib/DxePcdLib.inf +++ b/MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -13,6 +13,11 @@ # This library instance uses the PCD_PROTOCOL to handle dynamic PCD request and use
# EFI_PCD_PROTOCOL to handle dynamicEx type PCD.
#
+# Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can only use this DxePcdLib
+# in their initialization without any issues to access Dynamic and DynamicEx PCD. They can't
+# access Dynamic and DynamicEx PCD in the implementation of runtime services and SMI handlers.
+# Because EFI_PCD_PROTOCOL is DXE protocol that is not aviable in OS runtime phase.
+#
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
|