target/mips: convert UHI_plog to use common semihosting code
commit54eb6cda9ddd56270ec815ceb8079a913a07b98e
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 14 May 2019 12:52:30 +0000 (14 13:52 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 28 May 2019 09:28:51 +0000 (28 10:28 +0100)
treee76e758fae0694cf3e8ba9d8c91d4478ed0bb67a
parent82ba42666c5bb00438e96f4ec9c8a9206e1b02dd
target/mips: convert UHI_plog to use common semihosting code

Rather than printing directly to stdout lets use our common
semihosting code. There is one minor difference in that the output
currently defaults to stderr instead of stdout however this can be
controlled by connecting semihosting to a chardev.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
target/mips/mips-semi.c