]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/UefiLib/UefiLibPrint.c
Add ASSERT() conditions to UEFI Library Print() and AsciiPrint() functions if gST...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 11 Jun 2010 19:11:20 +0000 (19:11 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 11 Jun 2010 19:11:20 +0000 (19:11 +0000)
commitcda8ba5ed7db9b6a4c963734915eae3f1d31b613
tree0861be89ec476b62cc66e15507820edb46fe7bff
parentde243ee44476ccdb4979e5719cb7ac8a8c290565
Add ASSERT() conditions to UEFI Library Print() and AsciiPrint() functions if gST->ConOut is NULL.
Add ASSERT() conditions to UEFI Library ErrorPrint() and AsciiErrorPrint() functions if gST->StdErr is NULL.
Add ASSERT() conditions to UEFI Library PrintXY() and AsciiPrintXY() gST->ConsoleOutputHandle is NULL.
Update Print(), AsciiPrint(), ErrorPrint(), AsciiErrorPrint() to return 0 if the Simple Text Output Protocol OutputString() call returns an error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10576 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Include/Library/UefiLib.h
MdePkg/Library/UefiLib/UefiLibPrint.c