summary refs log tree commit diff stats
path: root/linux-user/nios2/cpu_loop.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-04-21 08:17:06 -0700
committerRichard Henderson <richard.henderson@linaro.org>2022-04-26 08:16:41 -0700
commit34cccb7462e12737f04d59dffeea1389aa689d81 (patch)
treeca1f6a054a12c38c7a5b457de1778c03953a37be /linux-user/nios2/cpu_loop.c
parentaf95a70a06d361fa068f1579e0b206f3a5e5de0f (diff)
downloadfocaccia-qemu-34cccb7462e12737f04d59dffeea1389aa689d81.tar.gz
focaccia-qemu-34cccb7462e12737f04d59dffeea1389aa689d81.zip
target/nios2: Cleanup set of CR_EXCEPTION for do_interrupt
The register is entirely read-only for software, and we do not
implement ECC, so we need not deposit the cause into an existing
value; just create a new value from scratch.

Furthermore, exception.CAUSE is not written for break exceptions.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220421151735.31996-36-richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/nios2/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions