summaryrefslogtreecommitdiffstats
path: root/semihosting
diff options
context:
space:
mode:
authorPeter Maydell2022-07-13 22:48:16 +0200
committerPeter Maydell2022-07-13 22:48:16 +0200
commit455c62d85f72037ea3ca4b709ad73965c65158b2 (patch)
tree4b9aedcbd166b673ab00f49d63edb50803712673 /semihosting
parentMerge tag 'pull-block-2022-07-12' of https://gitlab.com/hreitz/qemu into staging (diff)
parenttarget/mips: Remove GET_TARGET_STRING and FREE_TARGET_STRING (diff)
downloadqemu-455c62d85f72037ea3ca4b709ad73965c65158b2.tar.gz
qemu-455c62d85f72037ea3ca4b709ad73965c65158b2.tar.xz
qemu-455c62d85f72037ea3ca4b709ad73965c65158b2.zip
Merge tag 'mips-20220712' of https://github.com/philmd/qemu into staging
MIPS patches queue - Cavium Octeon MIPS extension and CPU model (Pavel Dovgalyuk) - Semihosting cleanup (Richard Henderson) # gpg: Signature made Tue 12 Jul 2022 21:52:52 BST # gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [full] # Primary key fingerprint: FAAB E75E 1291 7221 DCFD 6BB2 E3E3 2C2C DEAD C0DE * tag 'mips-20220712' of https://github.com/philmd/qemu: target/mips: Remove GET_TARGET_STRING and FREE_TARGET_STRING target/mips: Simplify UHI_argnlen and UHI_argn semihosting: Remove qemu_semihosting_log_out target/mips: Use error_report for UHI_assert target/mips: Avoid qemu_semihosting_log_out for UHI_plog target/mips: Use semihosting/syscalls.h target/mips: Drop link syscall from semihosting target/mips: Create report_fault for semihosting target/mips: introduce Cavium Octeon CPU model target/mips: implement Octeon-specific arithmetic instructions target/mips: implement Octeon-specific BBIT instructions target/mips: introduce decodetree structure for Cavium Octeon extension Signed-off-by: Peter Maydell <peter.maydell@linaro.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)