aboutsummaryrefslogtreecommitdiff
path: root/linux-user/alpha
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-12-27 07:01:25 -0800
committerLaurent Vivier <laurent@vivier.eu>2022-01-06 11:40:52 +0100
commitfed142461780f714e83123833a8d9682c32f68ee (patch)
treee4aed76bb492cf64fceb8c5be23f3aed3e540f8a /linux-user/alpha
parent6e8dcacd0840b3c38e7ec664bb9adbccc2108fdd (diff)
downloadqemu-fed142461780f714e83123833a8d9682c32f68ee.zip
qemu-fed142461780f714e83123833a8d9682c32f68ee.tar.gz
qemu-fed142461780f714e83123833a8d9682c32f68ee.tar.bz2
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 eb53b31..5629ddb 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"