diff options
author | Liming Gao <liming.gao@intel.com> | 2015-02-06 06:35:42 +0000 |
---|---|---|
committer | lgao4 <lgao4@Edk2> | 2015-02-06 06:35:42 +0000 |
commit | 7c6c450a04ff30b2f4d28a07149794a2691f8c0c (patch) | |
tree | 78c5feb1b04f605122ea0fefe78570bb503d8adc /MdePkg | |
parent | 243dfd85199004b355b5feddd3d6e164f2551e6a (diff) | |
download | edk2-platforms-7c6c450a04ff30b2f4d28a07149794a2691f8c0c.tar.xz |
MdePkg: Update BaseDebugLibNull library
Implement new API DebugPrintLevelEnabled() to return FALSE.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16791 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Library/BaseDebugLibNull/DebugLib.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseDebugLibNull/DebugLib.c b/MdePkg/Library/BaseDebugLibNull/DebugLib.c index 4ba62cb448..e88b887d60 100644 --- a/MdePkg/Library/BaseDebugLibNull/DebugLib.c +++ b/MdePkg/Library/BaseDebugLibNull/DebugLib.c @@ -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 @@ DebugClearMemoryEnabled ( {
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;
+}
+
|