]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseDebugLibNull/DebugLib.c
MdePkg: Update BaseDebugLibNull library
[mirror_edk2.git] / MdePkg / Library / BaseDebugLibNull / DebugLib.c
index 4ba62cb448a56227518c06660601ef3d6daccf9c..e88b887d603dba3b6982892632a6c59458872fd9 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Null Base Debug Library instance with empty functions.\r
 \r
-  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2015, 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
@@ -177,3 +177,22 @@ DebugClearMemoryEnabled (
 {\r
   return FALSE;\r
 }\r
+\r
+/**\r
+  Returns TRUE if any one of the bit is set both in ErrorLevel and PcdFixedDebugPrintErrorLevel.\r
+\r
+  This function compares the bit mask of ErrorLevel and PcdFixedDebugPrintErrorLevel.\r
+\r
+  @retval  TRUE    Current ErrorLevel is supported.\r
+  @retval  FALSE   Current ErrorLevel is not supported.\r
+\r
+**/\r
+BOOLEAN\r
+EFIAPI\r
+DebugPrintLevelEnabled (\r
+  IN  CONST UINTN        ErrorLevel\r
+  )\r
+{\r
+  return FALSE;\r
+}\r
+\r