summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseDebugLibNull
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-15 11:12:43 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-15 11:12:43 +0000
commiteceb3a4cb9b97d331ba91ea0a930465c05e8e20b (patch)
tree2f30cbf356491a3bea738c3facb2c37d056ffd66 /MdePkg/Library/BaseDebugLibNull
parent329d3f3d01b5470a2311ada36e36664519eb3447 (diff)
downloadedk2-eceb3a4cb9b97d331ba91ea0a930465c05e8e20b.tar.gz
edk2-eceb3a4cb9b97d331ba91ea0a930465c05e8e20b.tar.bz2
edk2-eceb3a4cb9b97d331ba91ea0a930465c05e8e20b.zip
Code scrub for the Debug library, PostCode library, Print library, and ExtractGuidedSection library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5478 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseDebugLibNull')
-rw-r--r--MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf5
-rw-r--r--MdePkg/Library/BaseDebugLibNull/DebugLib.c13
2 files changed, 8 insertions, 10 deletions
diff --git a/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf b/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
index d1d208e189..26a411b41e 100644
--- a/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
+++ b/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
@@ -1,8 +1,7 @@
#/** @file
-# Component description file for NULL Debug Library
+# Null Base Debug Library instance with empty functions.
#
-# Debug Library with empty functions.
-# Copyright (c) 2007, Intel Corporation.
+# Copyright (c) 2007 - 2008, Intel Corporation.
#
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
diff --git a/MdePkg/Library/BaseDebugLibNull/DebugLib.c b/MdePkg/Library/BaseDebugLibNull/DebugLib.c
index 73319d729b..a540411bca 100644
--- a/MdePkg/Library/BaseDebugLibNull/DebugLib.c
+++ b/MdePkg/Library/BaseDebugLibNull/DebugLib.c
@@ -1,7 +1,7 @@
/** @file
- Base Debug Library that uses PrintLib to print messages to a memory buffer.
+ Null Base Debug Library instance with empty functions.
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. 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
@@ -28,10 +28,9 @@
the message specified by Format and the associated variable argument list to
the debug output device.
- If Format is NULL, then ASSERT().
-
@param ErrorLevel The error level of the debug message.
@param Format Format string for the debug message to print.
+ @param ... The variable argument list.
**/
VOID
@@ -180,11 +179,11 @@ DebugCodeEnabled (
Returns TRUE if DEBUG_CLEAR_MEMORY()macro is enabled.
- This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CLEAR_MEMORY_ENABLED bit of
+ This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of
PcdDebugProperyMask is set. Otherwise FALSE is returned.
- @retval TRUE The DEBUG_PROPERTY_DEBUG_CLEAR_MEMORY_ENABLED bit of PcdDebugProperyMask is set.
- @retval FALSE The DEBUG_PROPERTY_DEBUG_CLEAR_MEMORY_ENABLED bit of PcdDebugProperyMask is clear.
+ @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebugProperyMask is set.
+ @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebugProperyMask is clear.
@return Always return FALSE.