ArmPkg/SemiHostingSerialPortLib: Return number of written bytes in SerialPortWrite()

It was previously returning '0' written bytes that was interprating by the higher
layers as a failing operation.

Fix proposed by Eugene Cohen (HP)



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12026 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin 2011-07-19 15:01:27 +00:00
parent 76336e4e2a
commit 5f4f1334e3
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ SerialPortWrite (
SemihostWriteString ((CHAR8 *) PrintBuffer);
}
return 0;
return NumberOfBytes;
}