Revision: 16799
          http://sourceforge.net/p/edk2/code/16799
Author:   lgao4
Date:     2015-02-06 06:39:16 +0000 (Fri, 06 Feb 2015)
Log Message:
-----------
MdePkg: Correct Help of Error Level

1. Error Level should be BIT31 instead of BIT28.
2. New PCD PcdFixedDebugPrintErrorLevel value should be mask value of all BITs 
so that it doesn't bring impact for current platform.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdePkg/MdePkg.dec
    trunk/edk2/MdePkg/MdePkg.uni

Modified: trunk/edk2/MdePkg/MdePkg.dec
===================================================================
--- trunk/edk2/MdePkg/MdePkg.dec        2015-02-06 06:38:43 UTC (rev 16798)
+++ trunk/edk2/MdePkg/MdePkg.dec        2015-02-06 06:39:16 UTC (rev 16799)
@@ -1614,6 +1614,7 @@
   
gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeDriverEnd|0x3040003|UINT32|0x30001014
 
   ## This flag is used to control build time optimization based on debug print 
level.
+  #  Its default value is 0xFFFFFFFF to expose all debug print level.
   #  BIT0  - Initialization message.<BR>
   #  BIT1  - Warning message.<BR>
   #  BIT2  - Load Event message.<BR>
@@ -1632,10 +1633,9 @@
   #  BIT20 - Global Coherency Database changes message.<BR>
   #  BIT21 - Memory range cachability changes message.<BR>
   #  BIT22 - Detailed debug message.<BR>
-  #  BIT28 - Error message.<BR>
+  #  BIT31 - Error message.<BR>
   # @Prompt Fixed Debug Message Print Level.
-  # @Expression  0x80000002 | 
(gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel & 0x7F84AA00) == 0
-  
gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0x80000000|UINT32|0x30001016
+  
gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0xFFFFFFFF|UINT32|0x30001016
 
 [PcdsFixedAtBuild,PcdsPatchableInModule]
   ## Indicates the maximum length of unicode string used in the following
@@ -1701,7 +1701,7 @@
   #  BIT20 - Global Coherency Database changes message.<BR>
   #  BIT21 - Memory range cachability changes message.<BR>
   #  BIT22 - Detailed debug message.<BR>
-  #  BIT28 - Error message.<BR>
+  #  BIT31 - Error message.<BR>
   # @Prompt Debug Message Print Level.
   # @Expression  0x80000002 | 
(gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel & 0x7F84AA00) == 0
   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000|UINT32|0x00000006

Modified: trunk/edk2/MdePkg/MdePkg.uni
===================================================================
--- trunk/edk2/MdePkg/MdePkg.uni        2015-02-06 06:38:43 UTC (rev 16798)
+++ trunk/edk2/MdePkg/MdePkg.uni        2015-02-06 06:39:16 UTC (rev 16799)
@@ -412,7 +412,7 @@
  - @@ -458,7 +458,7 @@
  - 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to