target/nios2: Handle EXCP_UNALIGN and EXCP_UNALIGND
commitaf95a70a06d361fa068f1579e0b206f3a5e5de0f
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 21 Apr 2022 15:17:05 +0000 (21 08:17 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 26 Apr 2022 15:16:41 +0000 (26 08:16 -0700)
tree3376b88dde684e1c9b6a9ad33aa2d9eba582c11d
parent0e0824a1a94e02e15330261e4151faaa7cbb773d
target/nios2: Handle EXCP_UNALIGN and EXCP_UNALIGND

While some of the plumbing for misaligned data is present, in the form
of nios2_cpu_do_unaligned_access, the hook will not be called because
TARGET_ALIGNED_ONLY is not set in configs/targets/nios2-softmmu.mak.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220421151735.31996-35-richard.henderson@linaro.org>
target/nios2/helper.c