[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 06/12] target/mips: Drop link syscall from semihosting
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 06/12] target/mips: Drop link syscall from semihosting |
Date: |
Tue, 12 Jul 2022 22:53:41 +0200 |
From: Richard Henderson <richard.henderson@linaro.org>
We don't implement it with _WIN32 hosts, and the syscall
is missing from the gdb remote file i/o interface.
Since we can't implement it universally, drop it.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220628111701.677216-3-richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
target/mips/tcg/sysemu/mips-semi.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/target/mips/tcg/sysemu/mips-semi.c
b/target/mips/tcg/sysemu/mips-semi.c
index 153df1fa15..93c9d3d0b3 100644
--- a/target/mips/tcg/sysemu/mips-semi.c
+++ b/target/mips/tcg/sysemu/mips-semi.c
@@ -362,15 +362,6 @@ void mips_semihosting(CPUMIPSState *env)
FREE_TARGET_STRING(p, gpr[4]);
abort();
break;
-#ifndef _WIN32
- case UHI_link:
- GET_TARGET_STRINGS_2(p, gpr[4], p2, gpr[5]);
- gpr[2] = link(p, p2);
- gpr[3] = errno_mips(errno);
- FREE_TARGET_STRING(p2, gpr[5]);
- FREE_TARGET_STRING(p, gpr[4]);
- break;
-#endif
default:
error_report("Unknown UHI operation %d", op);
abort();
--
2.36.1
- [PULL 00/12] MIPS patches for 2022-07-12, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 01/12] target/mips: introduce decodetree structure for Cavium Octeon extension, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 02/12] target/mips: implement Octeon-specific BBIT instructions, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 03/12] target/mips: implement Octeon-specific arithmetic instructions, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 05/12] target/mips: Create report_fault for semihosting, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 04/12] target/mips: introduce Cavium Octeon CPU model, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 06/12] target/mips: Drop link syscall from semihosting,
Philippe Mathieu-Daudé <=
- [PULL 07/12] target/mips: Use semihosting/syscalls.h, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 08/12] target/mips: Avoid qemu_semihosting_log_out for UHI_plog, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 09/12] target/mips: Use error_report for UHI_assert, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 10/12] semihosting: Remove qemu_semihosting_log_out, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 11/12] target/mips: Simplify UHI_argnlen and UHI_argn, Philippe Mathieu-Daudé, 2022/07/12
- [PULL 12/12] target/mips: Remove GET_TARGET_STRING and FREE_TARGET_STRING, Philippe Mathieu-Daudé, 2022/07/12
- Re: [PULL 00/12] MIPS patches for 2022-07-12, Peter Maydell, 2022/07/14