diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-12-27 07:01:27 -0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-01-06 11:40:52 +0100 |
commit | 4da06fb306276946e227669bfc4df2077a8fa6c9 (patch) | |
tree | 5c03601e404ad94039fe33c41a789a8bfec1cf32 /linux-user/sh4/target_prctl.h | |
parent | 217d1a5ef887c2013dc7446adff856e795cd8488 (diff) | |
download | qemu-4da06fb306276946e227669bfc4df2077a8fa6c9.zip qemu-4da06fb306276946e227669bfc4df2077a8fa6c9.tar.gz qemu-4da06fb306276946e227669bfc4df2077a8fa6c9.tar.bz2 |
target/sh4: Implement prctl_unalign_sigbus
Leave TARGET_ALIGNED_ONLY set, but use the new CPUState
flag to set MO_UNALN for the instructions that the kernel
handles in the unaligned trap.
The Linux kernel does not handle all memory operations: no
floating-point and no MAC.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20211227150127.2659293-7-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/sh4/target_prctl.h')
-rw-r--r-- | linux-user/sh4/target_prctl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/sh4/target_prctl.h b/linux-user/sh4/target_prctl.h index eb53b31..5629ddb 100644 --- a/linux-user/sh4/target_prctl.h +++ b/linux-user/sh4/target_prctl.h @@ -1 +1 @@ -/* No special prctl support required. */ +#include "../generic/target_prctl_unalign.h" |