semihosting: enable chardev backed output for console
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 14 May 2019 14:30:14 +0000 (15:30 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 28 May 2019 09:28:50 +0000 (10:28 +0100)
commit4e7f9032cf9bba8558b0fd5ab6a1366d6d7b8ee0
treeb260754fa6471caa695fe9e6ac47a454fc5ccb43
parenta331c6d774123fd3fdb916e58539920727dd2cbd
semihosting: enable chardev backed output for console

It will be useful for a number of use-cases to be able to re-direct
output to a file like we do with serial output. This does the wiring
to allow us to treat then semihosting console like just another
character output device.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
hw/semihosting/config.c
hw/semihosting/console.c
include/hw/semihosting/semihost.h
qemu-options.hx
stubs/semihost.c
vl.c