summaryrefslogtreecommitdiffstats
path: root/linux-user/hppa
diff options
context:
space:
mode:
authorRichard Henderson2021-12-27 16:01:26 +0100
committerLaurent Vivier2022-01-06 11:40:52 +0100
commit217d1a5ef887c2013dc7446adff856e795cd8488 (patch)
tree9ff035d15f09004796dfc7f4227ed8ea44721e3a /linux-user/hppa
parenttarget/alpha: Implement prctl_unalign_sigbus (diff)
downloadqemu-217d1a5ef887c2013dc7446adff856e795cd8488.tar.gz
qemu-217d1a5ef887c2013dc7446adff856e795cd8488.tar.xz
qemu-217d1a5ef887c2013dc7446adff856e795cd8488.zip
target/hppa: 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. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20211227150127.2659293-6-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/hppa')
-rw-r--r--linux-user/hppa/target_prctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/hppa/target_prctl.h b/linux-user/hppa/target_prctl.h
index eb53b31ad5..5629ddbf39 100644
--- a/linux-user/hppa/target_prctl.h
+++ b/linux-user/hppa/target_prctl.h
@@ -1 +1 @@
-/* No special prctl support required. */
+#include "../generic/target_prctl_unalign.h"