\r
#include "UefiLibInternal.h"\r
\r
-EFI_GRAPHICS_OUTPUT_BLT_PIXEL mEfiColors[16] = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_GRAPHICS_OUTPUT_BLT_PIXEL mEfiColors[16] = {\r
{ 0x00, 0x00, 0x00, 0x00 },\r
{ 0x98, 0x00, 0x00, 0x00 },\r
{ 0x00, 0x98, 0x00, 0x00 },\r
return Return;\r
}\r
\r
-/**\r
- Prints a formatted Unicode string to the console output device specified by\r
+/** \r
+ Prints a formatted Unicode string to the console output device specified by \r
ConOut defined in the EFI_SYSTEM_TABLE.\r
\r
- This function prints a formatted Unicode string to the console output device\r
- specified by ConOut in EFI_SYSTEM_TABLE and returns the number of Unicode\r
- characters that printed to ConOut. If the length of the formatted Unicode\r
- string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
+ This function prints a formatted Unicode string to the console output device \r
+ specified by ConOut in EFI_SYSTEM_TABLE and returns the number of Unicode \r
+ characters that printed to ConOut. If the length of the formatted Unicode \r
+ string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
PcdUefiLibMaxPrintBufferSize characters are sent to ConOut.\r
If Format is NULL, then ASSERT().\r
If Format is not aligned on a 16-bit boundary, then ASSERT().\r
@param ... Variable argument list whose contents are accessed based \r
on the format string specified by Format.\r
\r
- @return The number of Unicode characters in the produced\r
- output buffer not including the Null-terminator.\r
+ @return Number of Unicode characters printed to ConOut.\r
\r
**/\r
UINTN\r
return Return;\r
}\r
\r
-/**\r
- Prints a formatted Unicode string to the console output device specified by\r
+/** \r
+ Prints a formatted Unicode string to the console output device specified by \r
StdErr defined in the EFI_SYSTEM_TABLE.\r
\r
- This function prints a formatted Unicode string to the console output device\r
- specified by StdErr in EFI_SYSTEM_TABLE and returns the number of Unicode\r
- characters that printed to StdErr. If the length of the formatted Unicode\r
- string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
+ This function prints a formatted Unicode string to the console output device \r
+ specified by StdErr in EFI_SYSTEM_TABLE and returns the number of Unicode \r
+ characters that printed to StdErr. If the length of the formatted Unicode \r
+ string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
PcdUefiLibMaxPrintBufferSize characters are sent to StdErr.\r
If Format is NULL, then ASSERT().\r
If Format is not aligned on a 16-bit boundary, then ASSERT().\r
@param Format Null-terminated Unicode format string.\r
@param ... Variable argument list whose contents are accessed based \r
on the format string specified by Format.\r
+ \r
+ @return Number of Unicode characters printed to StdErr.\r
\r
- @return The number of Unicode characters in the produced\r
- output buffer not including the Null-terminator.\r
**/\r
UINTN\r
EFIAPI\r
return Return;\r
}\r
\r
-/**\r
- Prints a formatted ASCII string to the console output device specified by\r
+/** \r
+ Prints a formatted ASCII string to the console output device specified by \r
ConOut defined in the EFI_SYSTEM_TABLE.\r
\r
- This function prints a formatted ASCII string to the console output device\r
- specified by ConOut in EFI_SYSTEM_TABLE and returns the number of ASCII\r
- characters that printed to ConOut. If the length of the formatted ASCII\r
- string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
+ This function prints a formatted ASCII string to the console output device \r
+ specified by ConOut in EFI_SYSTEM_TABLE and returns the number of ASCII \r
+ characters that printed to ConOut. If the length of the formatted ASCII \r
+ string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
PcdUefiLibMaxPrintBufferSize characters are sent to ConOut.\r
If Format is NULL, then ASSERT().\r
\r
@param ... Variable argument list whose contents are accessed based \r
on the format string specified by Format.\r
\r
- @return The number of Ascii characters in the produced\r
- output buffer not including the Null-terminator.\r
+ @return Number of ASCII characters printed to ConOut.\r
\r
**/\r
UINTN\r
return Return;\r
}\r
\r
-/**\r
- Prints a formatted ASCII string to the console output device specified by\r
+/** \r
+ Prints a formatted ASCII string to the console output device specified by \r
StdErr defined in the EFI_SYSTEM_TABLE.\r
\r
- This function prints a formatted ASCII string to the console output device\r
- specified by StdErr in EFI_SYSTEM_TABLE and returns the number of ASCII\r
- characters that printed to StdErr. If the length of the formatted ASCII\r
- string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
+ This function prints a formatted ASCII string to the console output device \r
+ specified by StdErr in EFI_SYSTEM_TABLE and returns the number of ASCII \r
+ characters that printed to StdErr. If the length of the formatted ASCII \r
+ string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
PcdUefiLibMaxPrintBufferSize characters are sent to StdErr.\r
If Format is NULL, then ASSERT().\r
\r
@param ... Variable argument list whose contents are accessed based \r
on the format string specified by Format.\r
\r
- @return The number of Ascii characters in the produced output\r
- buffer not including the Null-terminator.\r
+ @return Number of ASCII characters printed to ConErr.\r
\r
**/\r
UINTN\r
@param ... Variable argument list whose contents are accessed based on \r
the format string specified by Format. \r
\r
- @return The number of characters printed.\r
+ @return The number of Unicode characters printed.\r
\r
**/\r
UINTN\r
\r
This function prints a formatted ASCII string to the graphics console device \r
specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of \r
- Unicode characters printed. If the length of the formatted ASCII string is\r
+ ASCII characters printed. If the length of the formatted ASCII string is\r
greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
PcdUefiLibMaxPrintBufferSize characters are printed. The EFI_HII_FONT_PROTOCOL\r
is used to convert the string to a bitmap using the glyphs registered with the \r
@param ... Variable argument list whose contents are accessed based on \r
the format string specified by Format. \r
\r
- @return The number of characters printed.\r
+ @return The number of ASCII characters printed.\r
\r
**/\r
UINTN\r