]> git.proxmox.com Git - mirror_qemu.git/commit - target/hppa/translate.c
target/hppa: Implement prctl_unalign_sigbus
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Dec 2021 15:01:26 +0000 (07:01 -0800)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 6 Jan 2022 10:40:52 +0000 (11:40 +0100)
commit217d1a5ef887c2013dc7446adff856e795cd8488
tree9ff035d15f09004796dfc7f4227ed8ea44721e3a
parentfed142461780f714e83123833a8d9682c32f68ee
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>
linux-user/hppa/target_prctl.h
target/hppa/cpu.h
target/hppa/translate.c