summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Library/DebugLib.h
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-02-13 11:09:29 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-02-13 11:09:29 +0000
commitf1ad92e867a0b4f3299a88de4c1c7e0844f699f3 (patch)
tree9d1029560e4bd8d45ebcd58e21b145c8203582c0 /MdePkg/Include/Library/DebugLib.h
parent647db8fd60492774a631b8a1fce6ae460c3de836 (diff)
downloadedk2-platforms-f1ad92e867a0b4f3299a88de4c1c7e0844f699f3.tar.xz
Add alias EFI_D_XXX to provide backward compatibilities.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2386 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Library/DebugLib.h')
-rw-r--r--MdePkg/Include/Library/DebugLib.h49
1 files changed, 34 insertions, 15 deletions
diff --git a/MdePkg/Include/Library/DebugLib.h b/MdePkg/Include/Library/DebugLib.h
index 6e009654d2..47ac3dc4f2 100644
--- a/MdePkg/Include/Library/DebugLib.h
+++ b/MdePkg/Include/Library/DebugLib.h
@@ -28,21 +28,40 @@
//
// Declare bits for PcdDebugPrintErrorLevel and the ErrorLevel parameter of DebugPrint()
//
-#define EFI_D_INIT 0x00000001 // Initialization style messages
-#define EFI_D_WARN 0x00000002 // Warnings
-#define EFI_D_LOAD 0x00000004 // Load events
-#define EFI_D_FS 0x00000008 // EFI File system
-#define EFI_D_POOL 0x00000010 // Alloc & Free's
-#define EFI_D_PAGE 0x00000020 // Alloc & Free's
-#define EFI_D_INFO 0x00000040 // Verbose
-#define EFI_D_VARIABLE 0x00000100 // Variable
-#define EFI_D_BM 0x00000400 // Boot Manager (BDS)
-#define EFI_D_BLKIO 0x00001000 // BlkIo Driver
-#define EFI_D_NET 0x00004000 // SNI Driver
-#define EFI_D_UNDI 0x00010000 // UNDI Driver
-#define EFI_D_LOADFILE 0x00020000 // UNDI Driver
-#define EFI_D_EVENT 0x00080000 // Event messages
-#define EFI_D_ERROR 0x80000000 // Error
+#define DEBUG_INIT 0x00000001 // Initialization
+#define DEBUG_WARN 0x00000002 // Warnings
+#define DEBUG_LOAD 0x00000004 // Load events
+#define DEBUG_FS 0x00000008 // EFI File system
+#define DEBUG_POOL 0x00000010 // Alloc & Free's
+#define DEBUG_PAGE 0x00000020 // Alloc & Free's
+#define DEBUG_INFO 0x00000040 // Verbose
+#define DEBUG_VARIABLE 0x00000100 // Variable
+#define DEBUG_BM 0x00000400 // Boot Manager
+#define DEBUG_BLKIO 0x00001000 // BlkIo Driver
+#define DEBUG_NET 0x00004000 // SNI Driver
+#define DEBUG_UNDI 0x00010000 // UNDI Driver
+#define DEBUG_LOADFILE 0x00020000 // UNDI Driver
+#define DEBUG_EVENT 0x00080000 // Event messages
+#define DEBUG_ERROR 0x80000000 // Error
+
+//
+// Aliases of debug message mask bits
+//
+#define EFI_D_INIT DEBUG_INIT
+#define EFI_D_WARN DEBUG_WARN
+#define EFI_D_LOAD DEBUG_LOAD
+#define EFI_D_FS DEBUG_FS
+#define EFI_D_POOL DEBUG_POOL
+#define EFI_D_PAGE DEBUG_PAGE
+#define EFI_D_INFO DEBUG_INFO
+#define EFI_D_VARIABLE DEBUG_VARIABLE
+#define EFI_D_BM DEBUG_BM
+#define EFI_D_BLKIO DEBUG_BLKIO
+#define EFI_D_NET DEBUG_NET
+#define EFI_D_UNDI DEBUG_UNDI
+#define EFI_D_LOADFILE DEBUG_LOADFILE
+#define EFI_D_EVENT DEBUG_EVENT
+#define EFI_D_ERROR DEBUG_ERROR
/**