bsd-user: Implement RISC-V CPU initialization and main loop
authorMark Corbin <mark@dibsco.co.uk>
Mon, 16 Sep 2024 15:51:03 +0000 (01:51 +1000)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 2 Oct 2024 05:11:51 +0000 (15:11 +1000)
commit9d49b1c9edf829e571093088ddff0b73db3110c6
tree5e9ecc0ed790535ab3ba29f07703dd55b2f20233
parent1165e30d950a41a2898f7ab426984cb0d0251f72
bsd-user: Implement RISC-V CPU initialization and main loop

Added the initial implementation for RISC-V CPU initialization and main
loop. This includes setting up the general-purpose registers and
program counter based on the provided target architecture definitions.

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-2-itachis@FreeBSD.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
bsd-user/riscv/target_arch_cpu.h [new file with mode: 0644]