Refine the ASSERT conditions and the return value when ASSERT triggers
for the following APIs in PrintLib:
UnicodeVSPrint
UnicodeBSPrint
UnicodeSPrint
UnicodeVSPrintAsciiFormat
UnicodeBSPrintAsciiFormat
UnicodeSPrintAsciiFormat
AsciiVSPrint
AsciiBSPrint
AsciiSPrint
AsciiVSPrintUnicodeFormat
AsciiBSPrintUnicodeFormat
AsciiSPrintUnicodeFormat
SPrintLength
SPrintLengthAsciiFormat

Cc: Jiewen Yao <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Michael Kinney <[email protected]>

Hao Wu (2):
  MdePkg/BasePrintLib: Refine the SPrint functions
  MdeModulePkg/PrintLib: Refine the SPrint functions

 .../DxePrintLibPrint2Protocol.inf                  |   7 +-
 .../Library/DxePrintLibPrint2Protocol/PrintLib.c   | 562 +++++++++++++--------
 MdePkg/Include/Library/PrintLib.h                  | 498 ++++++++++--------
 MdePkg/Library/BasePrintLib/BasePrintLib.inf       |   8 +-
 MdePkg/Library/BasePrintLib/PrintLib.c             | 416 ++++++++-------
 MdePkg/Library/BasePrintLib/PrintLibInternal.c     | 101 ++--
 MdePkg/Library/BasePrintLib/PrintLibInternal.h     |   3 +-
 7 files changed, 942 insertions(+), 653 deletions(-)

-- 
1.9.5.msysgit.0

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to