summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BasePostCodeLibDebug/PostCode.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BasePostCodeLibDebug/PostCode.c')
-rw-r--r--MdePkg/Library/BasePostCodeLibDebug/PostCode.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/MdePkg/Library/BasePostCodeLibDebug/PostCode.c b/MdePkg/Library/BasePostCodeLibDebug/PostCode.c
index 1bb4ed5e93..57a3bd6bff 100644
--- a/MdePkg/Library/BasePostCodeLibDebug/PostCode.c
+++ b/MdePkg/Library/BasePostCodeLibDebug/PostCode.c
@@ -36,11 +36,10 @@ PostCode (
IN UINT32 Value
)
{
- DEBUG((DEBUG_INFO, "POST %08x\n", Value));
+ DEBUG ((DEBUG_INFO, "POST %08x\n", Value));
return Value;
}
-
/**
Sends an 32-bit value to a POST and associated ASCII string.
@@ -72,11 +71,10 @@ PostCodeWithDescription (
IN CONST CHAR8 *Description OPTIONAL
)
{
- DEBUG((DEBUG_INFO, "POST %08x - %s\n", Value, Description));
+ DEBUG ((DEBUG_INFO, "POST %08x - %s\n", Value, Description));
return Value;
}
-
/**
Returns TRUE if POST Codes are enabled.
@@ -95,10 +93,9 @@ PostCodeEnabled (
VOID
)
{
- return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);
+ return (BOOLEAN)((PcdGet8 (PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);
}
-
/**
Returns TRUE if POST code descriptions are enabled.
@@ -117,5 +114,5 @@ PostCodeDescriptionEnabled (
VOID
)
{
- return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED) != 0);
+ return (BOOLEAN)((PcdGet8 (PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED) != 0);
}