Revision: 16791
http://sourceforge.net/p/edk2/code/16791
Author: lgao4
Date: 2015-02-06 06:35:42 +0000 (Fri, 06 Feb 2015)
Log Message:
-----------
MdePkg: Update BaseDebugLibNull library
Implement new API DebugPrintLevelEnabled() to return FALSE.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <[email protected]>
Reviewed-by: Star Zeng <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdePkg/Library/BaseDebugLibNull/DebugLib.c
Modified: trunk/edk2/MdePkg/Library/BaseDebugLibNull/DebugLib.c
===================================================================
--- trunk/edk2/MdePkg/Library/BaseDebugLibNull/DebugLib.c 2015-02-06
06:34:56 UTC (rev 16790)
+++ trunk/edk2/MdePkg/Library/BaseDebugLibNull/DebugLib.c 2015-02-06
06:35:42 UTC (rev 16791)
@@ -1,7 +1,7 @@
/** @file
Null Base Debug Library instance with empty functions.
- Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD
License
which accompanies this distribution. The full text of the license may be
found at
@@ -177,3 +177,22 @@
{
return FALSE;
}
+
+/**
+ Returns TRUE if any one of the bit is set both in ErrorLevel and
PcdFixedDebugPrintErrorLevel.
+
+ This function compares the bit mask of ErrorLevel and
PcdFixedDebugPrintErrorLevel.
+
+ @retval TRUE Current ErrorLevel is supported.
+ @retval FALSE Current ErrorLevel is not supported.
+
+**/
+BOOLEAN
+EFIAPI
+DebugPrintLevelEnabled (
+ IN CONST UINTN ErrorLevel
+ )
+{
+ return FALSE;
+}
+
------------------------------------------------------------------------------
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