summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Include/Protocol
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2017-03-07 16:04:04 +0800
committerHao Wu <hao.a.wu@intel.com>2017-03-13 11:09:34 +0800
commite5735b98c2da8b4eeed36edfbec58a55ca3d236b (patch)
treef1c93a61a70239df50096fc74f52d7309532c815 /MdeModulePkg/Include/Protocol
parentba5cd2ff24d54323d8be4b8012645ddef0b8982c (diff)
downloadedk2-e5735b98c2da8b4eeed36edfbec58a55ca3d236b.tar.gz
edk2-e5735b98c2da8b4eeed36edfbec58a55ca3d236b.tar.bz2
edk2-e5735b98c2da8b4eeed36edfbec58a55ca3d236b.zip
MdeModulePkg/Print2: Refine the comment for ASCII_VALUE_TO_STRING_S
The commit refines the comment description for EFI_PRINT2S_PROTOCOL service ASCII_VALUE_TO_STRING_S. This service will not ASSERT when the input/output parameter 'Buffer' is not aligned on a 16-bit boundary. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg/Include/Protocol')
-rw-r--r--MdeModulePkg/Include/Protocol/Print2.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/MdeModulePkg/Include/Protocol/Print2.h b/MdeModulePkg/Include/Protocol/Print2.h
index e4dd6f2be5..61b574e78a 100644
--- a/MdeModulePkg/Include/Protocol/Print2.h
+++ b/MdeModulePkg/Include/Protocol/Print2.h
@@ -610,8 +610,7 @@ RETURN_STATUS
sign character, '0' characters, digit characters for Value, and the
Null-terminator add up to Width characters.
- If Buffer is not aligned on a 16-bit boundary, then ASSERT().
- If an error would be returned, then the function will also ASSERT().
+ If an error would be returned, then the function will ASSERT().
@param Buffer The pointer to the output buffer for the produced
Null-terminated Ascii string.