summaryrefslogtreecommitdiff
path: root/MdePkg/MdePkg.dec
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2015-02-06 06:31:58 +0000
committerlgao4 <lgao4@Edk2>2015-02-06 06:31:58 +0000
commita5f6f89b00e1fcc1628d98938908eef9fac834d1 (patch)
tree0ca6a8a3e6ad282fe77b6f7c1009e0ef265775a5 /MdePkg/MdePkg.dec
parent22a99b87c4d29ebaa8713ac8f04d9d0c11c3add5 (diff)
downloadedk2-a5f6f89b00e1fcc1628d98938908eef9fac834d1.zip
edk2-a5f6f89b00e1fcc1628d98938908eef9fac834d1.tar.gz
edk2-a5f6f89b00e1fcc1628d98938908eef9fac834d1.tar.bz2
MdePkg: Add new FixedAtBuild PCD
This FixedAtBuild PCD is used to control build time optimization based on debug print level. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16785 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/MdePkg.dec')
-rw-r--r--MdePkg/MdePkg.dec24
1 files changed, 24 insertions, 0 deletions
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index e0a28d7..c9912b9 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -1613,6 +1613,30 @@
# @ValidList 0x80000003 | 0x3040003
gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeDriverEnd|0x3040003|UINT32|0x30001014
+ ## This flag is used to control build time optimization based on debug print level.
+ # BIT0 - Initialization message.<BR>
+ # BIT1 - Warning message.<BR>
+ # BIT2 - Load Event message.<BR>
+ # BIT3 - File System message.<BR>
+ # BIT4 - Allocate or Free Pool message.<BR>
+ # BIT5 - Allocate or Free Page message.<BR>
+ # BIT6 - Information message.<BR>
+ # BIT7 - Dispatcher message.<BR>
+ # BIT8 - Variable message.<BR>
+ # BIT10 - Boot Manager message.<BR>
+ # BIT12 - BlockIo Driver message.<BR>
+ # BIT14 - Network Driver message.<BR>
+ # BIT16 - UNDI Driver message.<BR>
+ # BIT17 - LoadFile message.<BR>
+ # BIT19 - Event message.<BR>
+ # BIT20 - Global Coherency Database changes message.<BR>
+ # BIT21 - Memory range cachability changes message.<BR>
+ # BIT22 - Detailed debug message.<BR>
+ # BIT28 - Error message.<BR>
+ # @Prompt Fixed Debug Message Print Level.
+ # @Expression 0x80000002 | (gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel & 0x7F84AA00) == 0
+ gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0x80000000|UINT32|0x30001016
+
[PcdsFixedAtBuild,PcdsPatchableInModule]
## Indicates the maximum length of unicode string used in the following
# BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>