summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-04 13:39:18 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-04 13:39:18 +0000
commitad400b07b8ab766b5fc601b929aaebc4a60dc05d (patch)
tree3b14d5530a59ba0cb9385bba3fb7440ac9cabdb8 /MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c
parent8ea58c070785281087061b0f706b03cf873949c7 (diff)
downloadedk2-platforms-ad400b07b8ab766b5fc601b929aaebc4a60dc05d.tar.xz
Update MDE Library instances according to code review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5823 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c')
-rw-r--r--MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c b/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c
index 2c92365ec8..266b25cdcf 100644
--- a/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c
+++ b/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c
@@ -29,7 +29,6 @@
/**
-
Prints a debug message to the debug output device if the specified error level is enabled.
If any bit in ErrorLevel is also set in PcdDebugPrintErrorLevel, then print
@@ -81,7 +80,6 @@ DebugPrint (
/**
-
Prints an assert message containing a filename, line number, and description.
This may be followed by a breakpoint or a dead loop.
@@ -135,7 +133,6 @@ DebugAssert (
/**
-
Fills a target buffer with PcdDebugClearMemoryValue, and returns the target buffer.
This function fills Length bytes of Buffer with the value specified by
@@ -148,7 +145,7 @@ DebugAssert (
@param Buffer Pointer to the target buffer to be filled with PcdDebugClearMemoryValue.
@param Length Number of bytes in Buffer to fill with zeros PcdDebugClearMemoryValue.
- @return Buffer Pointer to the target buffer filled with PcdDebugClearMemoryValue.
+ @return Buffer filled with PcdDebugClearMemoryValue.
**/
VOID *
@@ -171,7 +168,6 @@ DebugClearMemory (
/**
-
Returns TRUE if ASSERT() macros are enabled.
This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of
@@ -192,8 +188,7 @@ DebugAssertEnabled (
/**
-
- Returns TRUE if DEBUG()macros are enabled.
+ Returns TRUE if the DEBUG() macro is enabled.
This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of
PcdDebugProperyMask is set. Otherwise FALSE is returned.
@@ -213,8 +208,7 @@ DebugPrintEnabled (
/**
-
- Returns TRUE if DEBUG_CODE()macros are enabled.
+ Returns TRUE if the DEBUG_CODE() macros are enabled.
This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of
PcdDebugProperyMask is set. Otherwise FALSE is returned.
@@ -234,8 +228,7 @@ DebugCodeEnabled (
/**
-
- Returns TRUE if DEBUG_CLEAR_MEMORY()macro is enabled.
+ Returns TRUE if the DEBUG_CLEAR_MEMORY() macro is enabled.
This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of
PcdDebugProperyMask is set. Otherwise FALSE is returned.