]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user/arm/target_arch_cpu.h: Use force_sig_fault for EXCP_UDEF
authorWarner Losh <imp@bsdimp.com>
Sat, 8 Jan 2022 23:22:16 +0000 (16:22 -0700)
committerWarner Losh <imp@bsdimp.com>
Fri, 28 Jan 2022 22:52:39 +0000 (15:52 -0700)
commit5e02ded157a7db45c3f06bd8c9d60f62d5bdeb1c
treeecaf4a89a0fdbaeef68fcc909a284e09d8e4b450
parentc0b93df35248fcb842173abf583fe59d2b2692a5
bsd-user/arm/target_arch_cpu.h: Use force_sig_fault for EXCP_UDEF

Use force_sig_fault to implement unknown opcode. This just uninlines
that function, so simplify things by using it. Fold in EXCP_NOCP and
EXCP_INVSTATE, as is done in linux-user. Make a note about slight
differences with FreeBSD in case any of them turn out to be important
later.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/arm/target_arch_cpu.h