From eceb3a4cb9b97d331ba91ea0a930465c05e8e20b Mon Sep 17 00:00:00 2001 From: lgao4 Date: Tue, 15 Jul 2008 11:12:43 +0000 Subject: 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 --- MdePkg/Library/UefiDebugLibStdErr/DebugLib.c | 13 +++++++------ MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'MdePkg/Library/UefiDebugLibStdErr') diff --git a/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c b/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c index 50bb2bc50e..a7d4d2829b 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c @@ -1,7 +1,7 @@ /** @file - UEFI Debug Library that uses PrintLib to send messages to STDERR. + UEFI Debug Lib that sends messages to the Standard Error Device in the EFI System Table. - Copyright (c) 2006 - 2007, 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 @@ -41,6 +41,7 @@ @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 @@ -156,7 +157,7 @@ DebugAssert ( @param Buffer Pointer to the target buffer to fill with PcdDebugClearMemoryValue. @param Length Number of bytes in Buffer to fill with zeros PcdDebugClearMemoryValue. - @return Buffer + @return Buffer Pointer to the target buffer filled with PcdDebugClearMemoryValue. **/ VOID * @@ -245,11 +246,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. **/ BOOLEAN diff --git a/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf b/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf index de03bc64c6..672e582b7b 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf +++ b/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf @@ -1,8 +1,8 @@ #/** @file -# Debug Library for UEFI drivers # -# Library to abstract Framework extensions that conflict with UEFI 2.0 Specification -# Copyright (c) 2007, Intel Corporation. +# UEFI Debug Lib that sends messages to the Standard Error Device in the EFI System Table. +# +# 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 -- cgit v1.2.3