bsd-user: Implement RISC-V sysarch system call emulation
authorMark Corbin <mark@dibsco.co.uk>
Mon, 16 Sep 2024 15:51:10 +0000 (01:51 +1000)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 2 Oct 2024 05:11:52 +0000 (15:11 +1000)
commit207e80c94004b2d3b059c31fe760dbbaf27723f5
tree4d6c0d078955a34065c89462accfc8d89fc53c4d
parent640232501227145c569312d749eb64d24e6deaac
bsd-user: Implement RISC-V sysarch system call emulation

Added the 'do_freebsd_arch_sysarch' function to emulate the 'sysarch'
system call for the RISC-V architecture.
Currently, this function returns '-TARGET_EOPNOTSUPP' to indicate that
the operation is not supported.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Ajeet Singh <itachis@FreeBSD.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240916155119.14610-9-itachis@FreeBSD.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
bsd-user/riscv/target_arch_sysarch.h [new file with mode: 0644]