[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 2/8] target/mips: Drop link syscall from semihosting
From: |
Richard Henderson |
Subject: |
[PATCH v5 2/8] target/mips: Drop link syscall from semihosting |
Date: |
Tue, 28 Jun 2022 16:46:55 +0530 |
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>
---
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.34.1
- [PATCH v5 0/8] target/mips: semihosting cleanup, Richard Henderson, 2022/06/28
- [PATCH v5 1/8] target/mips: Create report_fault for semihosting, Richard Henderson, 2022/06/28
- [PATCH v5 2/8] target/mips: Drop link syscall from semihosting,
Richard Henderson <=
- [PATCH v5 3/8] target/mips: Use semihosting/syscalls.h, Richard Henderson, 2022/06/28
- [PATCH v5 4/8] target/mips: Avoid qemu_semihosting_log_out for UHI_plog, Richard Henderson, 2022/06/28
- [PATCH v5 5/8] target/mips: Use error_report for UHI_assert, Richard Henderson, 2022/06/28
- [PATCH v5 6/8] semihosting: Remove qemu_semihosting_log_out, Richard Henderson, 2022/06/28
- [PATCH v5 7/8] target/mips: Simplify UHI_argnlen and UHI_argn, Richard Henderson, 2022/06/28
- [PATCH v5 8/8] target/mips: Remove GET_TARGET_STRING and FREE_TARGET_STRING, Richard Henderson, 2022/06/28