On 10/7/2026 2:45 AM, Philippe Mathieu-Daudé wrote:
> Factor openrisc_excp_name() out of openrisc_cpu_do_interrupt()
> and register it as the CPUClass::exception_name() handler, so
> the common exception logging can resolve OpenRISC exception
> codes to names.
> 
> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
> ---
>  target/or1k/cpu.h       |  2 ++
>  target/or1k/cpu.c       |  1 +
>  target/or1k/exception.c | 24 ++++++++++++++++++++++++
>  target/or1k/interrupt.c | 19 +------------------
>  4 files changed, 28 insertions(+), 18 deletions(-)
> 

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

Reply via email to