aboutsummaryrefslogtreecommitdiff
path: root/linux-user/semihost.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/semihost.c')
-rw-r--r--linux-user/semihost.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/semihost.c b/linux-user/semihost.c
index 2029fb674c..871edf993a 100644
--- a/linux-user/semihost.c
+++ b/linux-user/semihost.c
@@ -76,3 +76,8 @@ int qemu_semihosting_console_read(CPUState *cs, void *buf, int len)
return ret;
}
+
+int qemu_semihosting_console_write(void *buf, int len)
+{
+ return fwrite(buf, 1, len, stderr);
+}