qemu/bsd-user
Mark Corbin 4c492b4063 bsd-user: Implement set_mcontext and get_ucontext_sigreturn for RISCV
Added implementations for 'set_mcontext' and 'get_ucontext_sigreturn'
functions for RISC-V architecture,
Both functions ensure that the CPU state and user context are properly
managed.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Ajeet Singh <itachis@FreeBSD.org>
Co-authored-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240916155119.14610-17-itachis@FreeBSD.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2024-10-02 15:11:52 +10:00
..
aarch64 bsd-user: Add target.h for aarch64. 2024-07-24 16:02:07 -06:00
arm bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack 2024-07-23 10:56:30 -06:00
freebsd
host
i386 bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack 2024-07-23 10:56:30 -06:00
include
netbsd
openbsd
riscv bsd-user: Implement set_mcontext and get_ucontext_sigreturn for RISCV 2024-10-02 15:11:52 +10:00
x86_64 bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack 2024-07-23 10:56:30 -06:00
bsd-file.h
bsd-mem.c
bsd-mem.h
bsd-proc.c
bsd-proc.h
bsdload.c
elfcore.c
elfload.c
errno_defs.h
main.c
meson.build
mmap.c bsd-user: Handle short reads in mmap_h_gt_g 2024-08-21 09:10:42 +10:00
qemu-bsd.h
qemu.h
signal-common.h
signal.c bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack 2024-07-23 10:56:30 -06:00
strace.c
syscall_defs.h
trace-events
trace.h
uaccess.c