bsd-user: Define RISC-V system call structures and constants
authorMark Corbin <mark@dibsco.co.uk>
Mon, 16 Sep 2024 15:51:13 +0000 (01:51 +1000)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 2 Oct 2024 05:11:52 +0000 (15:11 +1000)
commit9cc1a9cd4fe3f1f5307fb470ee11745566bbd857
tree60ba45538dbe9ce9ce0555052fc860843b18a254
parent9f57fb97b6d021eacd14d2399f50e31aef33b29c
bsd-user: Define RISC-V system call structures and constants

Introduced definitions for the RISC-V system call interface, including
the 'target_pt_regs' structure that outlines the register storage
layout during a system call.
Added constants for hardware machine identifiers.

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