]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add new DEBUG_VERBOSE print error level.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 16 Jan 2012 05:45:48 +0000 (05:45 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 16 Jan 2012 05:45:48 +0000 (05:45 +0000)
Signed-off-by: lgao4
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12933 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Foundation/Include/EfiDebug.h
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueDebugLib.h
MdePkg/Include/Library/DebugLib.h

index a1a1637e9a2c2296d15dea10ba8e0b86a4910d48..3e67b93dde947ec94d9ec7d8bfaab993acbbc437 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -146,7 +146,7 @@ Abstract:
 #define EFI_D_FS          0x00000008          // EFI File system\r
 #define EFI_D_POOL        0x00000010          // Alloc & Free's\r
 #define EFI_D_PAGE        0x00000020          // Alloc & Free's\r
-#define EFI_D_INFO        0x00000040          // Verbose\r
+#define EFI_D_INFO        0x00000040          // Informational debug messages\r
 #define EFI_D_VARIABLE    0x00000100          // Variable\r
 #define EFI_D_BM          0x00000400          // Boot Manager (BDS)\r
 #define EFI_D_BLKIO       0x00001000          // BlkIo Driver\r
@@ -154,11 +154,11 @@ Abstract:
 #define EFI_D_UNDI        0x00010000          // UNDI Driver\r
 #define EFI_D_LOADFILE    0x00020000          // UNDI Driver\r
 #define EFI_D_EVENT       0x00080000          // Event messages\r
-\r
+#define EFI_D_VERBOSE     0x00400000          // Detailed debug messages that may significantly impact boot performance\r
 #define EFI_D_ERROR       0x80000000          // Error\r
 \r
 #define EFI_D_GENERIC (EFI_D_ERROR | EFI_D_INIT | EFI_D_WARN | EFI_D_INFO | \\r
-                        EFI_D_BLKIO | EFI_D_NET | EFI_D_UNDI )       \r
+                        EFI_D_BLKIO | EFI_D_NET | EFI_D_UNDI | EFI_D_VERBOSE)       \r
 \r
 #define EFI_D_INTRINSIC ( EFI_D_EVENT | EFI_D_POOL | EFI_D_PAGE | \\r
                           EFI_D_BM | EFI_D_LOAD | EFI_D_VARIABLE )        \r
index 27e597403e62e7e6fc28ebd352f7ccd411fedec4..3c42a05f17a452017f5f98afa38104ced2ac12f6 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -47,6 +47,7 @@ Abstract:
 #undef EFI_D_UNDI\r
 #undef EFI_D_LOADFILE\r
 #undef EFI_D_EVENT\r
+#undef EFI_D_VERBOSE\r
 #undef EFI_D_ERROR\r
 \r
 //\r
@@ -68,7 +69,7 @@ Abstract:
 #define DEBUG_FS        0x00000008  // EFI File system\r
 #define DEBUG_POOL      0x00000010  // Alloc & Free's\r
 #define DEBUG_PAGE      0x00000020  // Alloc & Free's\r
-#define DEBUG_INFO      0x00000040  // Verbose\r
+#define DEBUG_INFO      0x00000040  // Informational debug messages\r
 #define DEBUG_VARIABLE  0x00000100  // Variable\r
 #define DEBUG_BM        0x00000400  // Boot Manager\r
 #define DEBUG_BLKIO     0x00001000  // BlkIo Driver\r
@@ -76,6 +77,7 @@ Abstract:
 #define DEBUG_UNDI      0x00010000  // UNDI Driver\r
 #define DEBUG_LOADFILE  0x00020000  // UNDI Driver\r
 #define DEBUG_EVENT     0x00080000  // Event messages\r
+#define DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may significantly impact boot performance\r
 #define DEBUG_ERROR     0x80000000  // Error\r
 \r
 //\r
@@ -95,6 +97,7 @@ Abstract:
 #define EFI_D_UNDI      DEBUG_UNDI\r
 #define EFI_D_LOADFILE  DEBUG_LOADFILE\r
 #define EFI_D_EVENT     DEBUG_EVENT\r
+#define EFI_D_VERBOSE   DEBUG_VERBOSE\r
 #define EFI_D_ERROR     DEBUG_ERROR\r
 \r
 \r
index 7bb964faa6401fc160ee765e80c94592fd08c3e9..f969ce23178753533cb7914d7697023f03fff11d 100644 (file)
@@ -8,7 +8,7 @@
   of size reduction when compiler optimization is disabled. If MDEPKG_NDEBUG is\r
   defined, then debug and assert related macros wrapped by it are the NULL implementations.\r
 \r
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -41,7 +41,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define DEBUG_FS        0x00000008  // EFI File system\r
 #define DEBUG_POOL      0x00000010  // Alloc & Free's\r
 #define DEBUG_PAGE      0x00000020  // Alloc & Free's\r
-#define DEBUG_INFO      0x00000040  // Verbose\r
+#define DEBUG_INFO      0x00000040  // Informational debug messages\r
 #define DEBUG_DISPATCH  0x00000080  // PEI/DXE/SMM Dispatchers\r
 #define DEBUG_VARIABLE  0x00000100  // Variable\r
 #define DEBUG_BM        0x00000400  // Boot Manager\r
@@ -52,6 +52,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define DEBUG_EVENT     0x00080000  // Event messages\r
 #define DEBUG_GCD       0x00100000  // Global Coherency Database changes\r
 #define DEBUG_CACHE     0x00200000  // Memory range cachability changes\r
+#define DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may significantly impact boot performance\r
 #define DEBUG_ERROR     0x80000000  // Error\r
 \r
 //\r
@@ -72,6 +73,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define EFI_D_UNDI      DEBUG_UNDI\r
 #define EFI_D_LOADFILE  DEBUG_LOADFILE\r
 #define EFI_D_EVENT     DEBUG_EVENT\r
+#define EFI_D_VERBOSE   DEBUG_VERBOSE\r
 #define EFI_D_ERROR     DEBUG_ERROR\r
 \r
 /**\r