summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/PeiDxePostCodeLibReportStatusCode
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/PeiDxePostCodeLibReportStatusCode
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/PeiDxePostCodeLibReportStatusCode')
-rw-r--r--MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c31
1 files changed, 16 insertions, 15 deletions
diff --git a/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c b/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c
index 3d5901548b..1b8cd899c3 100644
--- a/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c
+++ b/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c
@@ -1,7 +1,8 @@
/** @file
- Report Status Code Library Post Code functions for DXE Phase.
+ Post code library instace bases on report status code library
+ PostCode Library for PEIMs and DXE drivers that send PostCode to ReportStatusCode
- Copyright (c) 2006, Intel Corporation<BR>
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>
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
@@ -45,12 +46,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.
- @return Value
+ @return Value The 32-bit value to write to the POST card.
**/
UINT32
@@ -76,8 +77,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.
@@ -85,7 +86,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
@@ -138,14 +139,13 @@ PostCodeEnabled (
/**
Returns TRUE if POST code descriptions are enabled.
- This function returns TRUE if the
- POST_CODE_PROPERTY_POST_CODE_ENABLED bit of
- PcdPostCodePropertyMask is set. Otherwise FALSE is returned.
+ 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 PcdPostCodeProperyMask is set.
- @retval FALSE The POST_CODE_PROPERTY_POST_CODE_ENABLED
- bit of PcdPostCodeProperyMask is clear.
+ @retval TRUE The POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit of
+ PcdPostCodeProperyMask is set.
+ @retval FALSE The POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit of
+ PcdPostCodeProperyMask is clear.
**/
BOOLEAN
@@ -154,5 +154,6 @@ 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);
}
+