aboutsummaryrefslogtreecommitdiff
path: root/stubs/semihost.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-05-14 15:30:14 +0100
committerAlex Bennée <alex.bennee@linaro.org>2019-05-28 10:28:50 +0100
commit4e7f9032cf9bba8558b0fd5ab6a1366d6d7b8ee0 (patch)
treeb260754fa6471caa695fe9e6ac47a454fc5ccb43 /stubs/semihost.c
parenta331c6d774123fd3fdb916e58539920727dd2cbd (diff)
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>
Diffstat (limited to 'stubs/semihost.c')
-rw-r--r--stubs/semihost.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stubs/semihost.c b/stubs/semihost.c
index 1a4e88e532..4d5b3c0653 100644
--- a/stubs/semihost.c
+++ b/stubs/semihost.c
@@ -64,3 +64,7 @@ const char *semihosting_get_cmdline(void)
void semihosting_arg_fallback(const char *file, const char *cmd)
{
}
+
+void qemu_semihosting_connect_chardevs(void)
+{
+}