qemu-e2k/target/nios2
Richard Henderson e84f176844 target/nios2: Advance pc when raising exceptions
The exception return address for nios2 is the instruction
after the one that was executing at the time of the exception.

We have so far implemented this by advancing the pc during the
process of raising the exception.  It is perhaps a little less
confusing to do this advance in the translator (and helpers)
when raising the exception in the first place, so that we may
more closely match kernel sources.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220421151735.31996-58-richard.henderson@linaro.org>
2022-04-26 08:17:05 -07:00
..
cpu-param.h
cpu.c
cpu.h target/nios2: Advance pc when raising exceptions 2022-04-26 08:17:05 -07:00
helper.c target/nios2: Advance pc when raising exceptions 2022-04-26 08:17:05 -07:00
helper.h
Kconfig
meson.build
mmu.c
mmu.h
monitor.c
nios2-semi.c
op_helper.c target/nios2: Advance pc when raising exceptions 2022-04-26 08:17:05 -07:00
trace-events
translate.c target/nios2: Advance pc when raising exceptions 2022-04-26 08:17:05 -07:00