bsd-user: Add generic RISC-V64 target definitions
authorWarner Losh <imp@bsdimp.com>
Mon, 16 Sep 2024 15:51:14 +0000 (01:51 +1000)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 2 Oct 2024 05:11:52 +0000 (15:11 +1000)
commit25b08c4da891648be6a3230e580250ef8015486d
treed57100a1d8f62ae008a1bbdcfffc3d7e14f4d433
parent9cc1a9cd4fe3f1f5307fb470ee11745566bbd857
bsd-user: Add generic RISC-V64 target definitions

Added a generic definition for RISC-V64 target-specific details.
Implemented the 'regpairs_aligned' function,which returns 'false'
to indicate that register pairs are not aligned in the RISC-V64 ABI.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Ajeet Singh <itachis@FreeBSD.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240916155119.14610-13-itachis@FreeBSD.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
bsd-user/riscv/target.h [new file with mode: 0644]