target/arm: use the common interface for WRITE0/WRITEC in arm-semi
commit0dc077212f6c1897e5bf39d1ab8e6bf23395ac4c
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 14 May 2019 10:07:15 +0000 (14 11:07 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 28 May 2019 09:28:50 +0000 (28 10:28 +0100)
treec376e4e2dee8dd1cbb6b305942a245d4994f49a3
parent4cb28db99be2ca4a3f143e8c4c4ac954af1cc4f4
target/arm: use the common interface for WRITE0/WRITEC in arm-semi

Now we have a common semihosting console interface use that for our
string output. However ARM is currently unique in also supporting
semihosting for linux-user so we need to replicate the API in
linux-user. If other architectures gain this support we can move the
file later.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/Makefile.objs
linux-user/arm/semihost.c [new file with mode: 0644]
target/arm/arm-semi.c