]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Add new FixedAtBuild PCD
authorLiming Gao <liming.gao@intel.com>
Fri, 6 Feb 2015 06:31:58 +0000 (06:31 +0000)
committerlgao4 <lgao4@Edk2>
Fri, 6 Feb 2015 06:31:58 +0000 (06:31 +0000)
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

MdePkg/MdePkg.dec

index e0a28d7997393cbac863065a2a01e252a364b3f2..c9912b968fa613f577aca98bda53ebce2fd789a5 100644 (file)
   # @ValidList  0x80000003 | 0x3040003\r
   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeDriverEnd|0x3040003|UINT32|0x30001014\r
 \r
+  ## This flag is used to control build time optimization based on debug print level.\r
+  #  BIT0  - Initialization message.<BR>\r
+  #  BIT1  - Warning message.<BR>\r
+  #  BIT2  - Load Event message.<BR>\r
+  #  BIT3  - File System message.<BR>\r
+  #  BIT4  - Allocate or Free Pool message.<BR>\r
+  #  BIT5  - Allocate or Free Page message.<BR>\r
+  #  BIT6  - Information message.<BR>\r
+  #  BIT7  - Dispatcher message.<BR>\r
+  #  BIT8  - Variable message.<BR>\r
+  #  BIT10 - Boot Manager message.<BR>\r
+  #  BIT12 - BlockIo Driver message.<BR>\r
+  #  BIT14 - Network Driver message.<BR>\r
+  #  BIT16 - UNDI Driver message.<BR>\r
+  #  BIT17 - LoadFile message.<BR>\r
+  #  BIT19 - Event message.<BR>\r
+  #  BIT20 - Global Coherency Database changes message.<BR>\r
+  #  BIT21 - Memory range cachability changes message.<BR>\r
+  #  BIT22 - Detailed debug message.<BR>\r
+  #  BIT28 - Error message.<BR>\r
+  # @Prompt Fixed Debug Message Print Level.\r
+  # @Expression  0x80000002 | (gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel & 0x7F84AA00) == 0\r
+  gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0x80000000|UINT32|0x30001016\r
+\r
 [PcdsFixedAtBuild,PcdsPatchableInModule]\r
   ## Indicates the maximum length of unicode string used in the following\r
   #  BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>\r