mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
217d1a5ef8
commit
4da06fb306
3 changed files with 39 additions and 17 deletions
|
@ -1 +1 @@
|
|||
/* No special prctl support required. */
|
||||
#include "../generic/target_prctl_unalign.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue