On 10/7/2026 2:45 AM, Philippe Mathieu-Daudé wrote:
> Factor riscv_excp_name() and riscv_intr_name() out of
> riscv_cpu_get_trap_name(). Register riscv_excp_name()
> as the CPUClass::exception_name() handler, so the common
> exception logging can resolve RISCV exception codes to names.
> 
> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
> ---
>  target/riscv/cpu.h           |  1 +
>  target/riscv/cpu.c           | 29 ++++++++++++++++++-----------
>  target/riscv/tcg/op_helper.c |  2 +-
>  3 files changed, 20 insertions(+), 12 deletions(-)
> 

Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to