qemu-e2k/linux-user
Kito Cheng 6b80cb25b4 riscv: Add semihosting support for user mode
This could made testing more easier and ARM/AArch64 has supported on
their linux user mode too, so I think it should be reasonable.

Verified GCC testsuite with newlib/semihosting.

Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210107170717.2098982-7-keithp@keithp.com>
Message-Id: <20210108224256.2321-18-alex.bennee@linaro.org>
2021-01-18 10:05:06 +00:00
..
aarch64 semihosting: Change common-semi API to be architecture-independent 2021-01-18 10:05:06 +00:00
alpha
arm semihosting: Change common-semi API to be architecture-independent 2021-01-18 10:05:06 +00:00
cris
generic
host
hppa
i386
m68k
microblaze
mips target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
mips64
nios2
openrisc
ppc
riscv riscv: Add semihosting support for user mode 2021-01-18 10:05:06 +00:00
s390x
sh4
sparc linux-user/sparc: Handle tstate in sparc64_get/set_context() 2020-12-18 11:23:29 +01:00
sparc64
tilegx
x86_64
xtensa
cpu_loop-common.h
elfload.c
errno_defs.h
exit.c gdbstub: drop CPUEnv from gdb_exit() 2021-01-18 10:05:06 +00:00
fd-trans.c
fd-trans.h
flat.h
flatload.c
ioctls.h linux-user: Conditionalize TUNSETVNETLE 2021-01-07 05:09:06 -10:00
linux_loop.h
linuxload.c
main.c tcg: Add --accel tcg,split-wx property 2021-01-07 05:09:41 -10:00
meson.build semihosting: Move ARM semihosting code to shared directories 2021-01-18 10:05:06 +00:00
mmap.c
qemu.h riscv: Add semihosting support 2021-01-18 10:05:06 +00:00
safe-syscall.S
semihost.c riscv: Add semihosting support 2021-01-18 10:05:06 +00:00
signal-common.h
signal.c
socket.h
strace.c
strace.list
syscall_defs.h linux-user: Add most IFTUN ioctls 2020-12-18 11:23:10 +01:00
syscall_types.h
syscall.c linux-user: Add most IFTUN ioctls 2020-12-18 11:23:10 +01:00
target_flat.h
trace-events
trace.h
uaccess.c
uname.c
uname.h
vm86.c