summaryrefslogtreecommitdiffstats
path: root/linux-user/alpha
diff options
context:
space:
mode:
authorRichard Henderson2021-12-27 16:01:25 +0100
committerLaurent Vivier2022-01-06 11:40:52 +0100
commitfed142461780f714e83123833a8d9682c32f68ee (patch)
treee4aed76bb492cf64fceb8c5be23f3aed3e540f8a /linux-user/alpha
parentlinux-user: Add code for PR_GET/SET_UNALIGN (diff)
downloadqemu-fed142461780f714e83123833a8d9682c32f68ee.tar.gz
qemu-fed142461780f714e83123833a8d9682c32f68ee.tar.xz
qemu-fed142461780f714e83123833a8d9682c32f68ee.zip
target/alpha: 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-5-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/alpha')
-rw-r--r--linux-user/alpha/target_prctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/alpha/target_prctl.h b/linux-user/alpha/target_prctl.h
index eb53b31ad5..5629ddbf39 100644
--- a/linux-user/alpha/target_prctl.h
+++ b/linux-user/alpha/target_prctl.h
@@ -1 +1 @@
-/* No special prctl support required. */
+#include "../generic/target_prctl_unalign.h"