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 --- .../BasePostCodeLibDebug/BasePostCodeLibDebug.inf | 3 +-- MdePkg/Library/BasePostCodeLibDebug/PostCode.c | 24 +++++++++++----------- 2 files changed, 13 insertions(+), 14 deletions(-) (limited to 'MdePkg/Library/BasePostCodeLibDebug') diff --git a/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf b/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf index fd34dd24cf..d915130c65 100644 --- a/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf +++ b/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf @@ -1,8 +1,7 @@ #/** @file -# Component description file for Debug Base Post Code Library. # # Post Code Library that layers on top of a Debug Library instance. -# 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/BasePostCodeLibDebug/PostCode.c b/MdePkg/Library/BasePostCodeLibDebug/PostCode.c index 6b99d8986c..4335acb1ae 100644 --- a/MdePkg/Library/BasePostCodeLibDebug/PostCode.c +++ b/MdePkg/Library/BasePostCodeLibDebug/PostCode.c @@ -1,7 +1,7 @@ /** @file - Report Status Code Library Post Code functions for DXE Phase. + Base Post Code Library instance based on Debug Library. - 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 @@ -31,12 +31,12 @@ display the 32-bit value on the status reporting device. PostCode() must actively prevent recursion. If PostCode() is called while - processing another any other Report Status Code Library function, then + processing another any other Post Code Library function, then PostCode() must return Value immediately. - @param Value The 32-bit value to write to the POST card. + @param Value The 32-bit value to write to the POST card. - @return Value + @return Value The 32-bit value to write to the POST card. **/ UINT32 @@ -62,8 +62,8 @@ PostCode ( value on the status reporting device. PostCodeWithDescription()must actively prevent recursion. If - PostCodeWithDescription() is called while processing another any other Report - Status Code Library function, then PostCodeWithDescription() must return Value + PostCodeWithDescription() is called while processing another any other Post + Code Library function, then PostCodeWithDescription() must return Value immediately. @param Value The 32-bit value to write to the POST card. @@ -71,7 +71,7 @@ PostCode ( POST code value. This is an optional parameter that may be NULL. - @return Value + @return Value The 32-bit value to write to the POST card. **/ UINT32 @@ -111,12 +111,12 @@ PostCodeEnabled ( /** Returns TRUE if POST code descriptions are enabled. - This function returns TRUE if the POST_CODE_PROPERTY_POST_CODE_ENABLED + This function returns TRUE if the POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit of PcdPostCodePropertyMask is set. Otherwise FALSE is returned. - @retval TRUE The POST_CODE_PROPERTY_POST_CODE_ENABLED bit of + @retval TRUE The POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit of PcdPostCodeProperyMask is set. - @retval FALSE The POST_CODE_PROPERTY_POST_CODE_ENABLED bit of + @retval FALSE The POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit of PcdPostCodeProperyMask is clear. **/ @@ -126,5 +126,5 @@ PostCodeDescriptionEnabled ( VOID ) { - return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); + return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED) != 0); } -- cgit v1.2.3