summaryrefslogtreecommitdiffstats
path: root/semihosting
diff options
context:
space:
mode:
authorRichard Henderson2022-06-28 13:16:59 +0200
committerPhilippe Mathieu-Daudé2022-07-12 22:32:12 +0200
commit938fcd741ad656b2c4aeb1654bfc4ff221c26bbf (patch)
tree000c9d3d3e77e9f2d5219e4861b34b34b6dd9637 /semihosting
parenttarget/mips: Use error_report for UHI_assert (diff)
downloadqemu-938fcd741ad656b2c4aeb1654bfc4ff221c26bbf.tar.gz
qemu-938fcd741ad656b2c4aeb1654bfc4ff221c26bbf.tar.xz
qemu-938fcd741ad656b2c4aeb1654bfc4ff221c26bbf.zip
semihosting: Remove qemu_semihosting_log_out
The function is no longer used. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220628111701.677216-7-richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'semihosting')
-rw-r--r--semihosting/console.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/semihosting/console.c b/semihosting/console.c
index cda7cf1905..5b1ec0a1c3 100644
--- a/semihosting/console.c
+++ b/semihosting/console.c
@@ -38,15 +38,6 @@ typedef struct SemihostingConsole {
static SemihostingConsole console;
-int qemu_semihosting_log_out(const char *s, int len)
-{
- if (console.chr) {
- return qemu_chr_write_all(console.chr, (uint8_t *) s, len);
- } else {
- return write(STDERR_FILENO, s, len);
- }
-}
-
#define FIFO_SIZE 1024
static int console_can_read(void *opaque)