mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
target/riscv: Pass ra to riscv_csr_write_fn
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250425152311.804338-2-richard.henderson@linaro.org> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
committed by
Alistair Francis
parent
355cdac7d8
commit
6c8954cb35
+2
-1
@@ -838,7 +838,8 @@ typedef RISCVException (*riscv_csr_predicate_fn)(CPURISCVState *env,
|
||||
typedef RISCVException (*riscv_csr_read_fn)(CPURISCVState *env, int csrno,
|
||||
target_ulong *ret_value);
|
||||
typedef RISCVException (*riscv_csr_write_fn)(CPURISCVState *env, int csrno,
|
||||
target_ulong new_value);
|
||||
target_ulong new_value,
|
||||
uintptr_t ra);
|
||||
typedef RISCVException (*riscv_csr_op_fn)(CPURISCVState *env, int csrno,
|
||||
target_ulong *ret_value,
|
||||
target_ulong new_value,
|
||||
|
||||
+116
-110
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user