On 8/2/24 18:34, Ajeet Singh wrote:
+static inline void target_cpu_init(CPURISCVState *env,
+struct target_pt_regs *regs)
+{
+int i;
+
+for (i = 0; i < 32; i++) {
i = 1 as r0 is zero.
Otherwise,
Reviewed-by: Richard Henderson
r~
From: Mark Corbin
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
Signed-off-by: Ajeet Singh
Co-authored-by