summaryrefslogtreecommitdiffstats
path: root/hw/intc
diff options
context:
space:
mode:
authorRichard Henderson2022-04-21 17:17:28 +0200
committerRichard Henderson2022-04-26 17:17:05 +0200
commite84f1768449330a5b4c62a8aaa68f102ba6ec573 (patch)
treeaf6ca0b49c5612a35ac77da507974dba9ee71713 /hw/intc
parenttarget/nios2: Implement EIC interrupt processing (diff)
downloadqemu-e84f1768449330a5b4c62a8aaa68f102ba6ec573.tar.gz
qemu-e84f1768449330a5b4c62a8aaa68f102ba6ec573.tar.xz
qemu-e84f1768449330a5b4c62a8aaa68f102ba6ec573.zip
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>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions