[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 03/48] linux-user/alpha: Remove EXCP_UNALIGN handling
From: |
Richard Henderson |
Subject: |
[PATCH v4 03/48] linux-user/alpha: Remove EXCP_UNALIGN handling |
Date: |
Tue, 12 Oct 2021 19:45:22 -0700 |
We will raise SIGBUS directly from cpu_loop_exit_sigbus.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
linux-user/alpha/cpu_loop.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/linux-user/alpha/cpu_loop.c b/linux-user/alpha/cpu_loop.c
index 1b00a81385..4029849d5c 100644
--- a/linux-user/alpha/cpu_loop.c
+++ b/linux-user/alpha/cpu_loop.c
@@ -54,21 +54,6 @@ void cpu_loop(CPUAlphaState *env)
fprintf(stderr, "External interrupt. Exit\n");
exit(EXIT_FAILURE);
break;
- case EXCP_MMFAULT:
- info.si_signo = TARGET_SIGSEGV;
- info.si_errno = 0;
- info.si_code = (page_get_flags(env->trap_arg0) & PAGE_VALID
- ? TARGET_SEGV_ACCERR : TARGET_SEGV_MAPERR);
- info._sifields._sigfault._addr = env->trap_arg0;
- queue_signal(env, info.si_signo, QEMU_SI_FAULT, &info);
- break;
- case EXCP_UNALIGN:
- info.si_signo = TARGET_SIGBUS;
- info.si_errno = 0;
- info.si_code = TARGET_BUS_ADRALN;
- info._sifields._sigfault._addr = env->trap_arg0;
- queue_signal(env, info.si_signo, QEMU_SI_FAULT, &info);
- break;
case EXCP_OPCDEC:
do_sigill:
info.si_signo = TARGET_SIGILL;
--
2.25.1
- [PATCH v4 00/48], Richard Henderson, 2021/10/12
- [PATCH v4 03/48] linux-user/alpha: Remove EXCP_UNALIGN handling,
Richard Henderson <=
- [PATCH v4 04/48] target/arm: Implement arm_cpu_record_sigbus, Richard Henderson, 2021/10/12
- [PATCH v4 01/48] hw/core: Add TCGCPUOps.record_sigbus, Richard Henderson, 2021/10/12
- [PATCH v4 02/48] linux-user: Add cpu_loop_exit_sigbus, Richard Henderson, 2021/10/12
- [PATCH v4 05/48] linux-user/hppa: Remove EXCP_UNALIGN handling, Richard Henderson, 2021/10/12
- [PATCH v4 06/48] target/microblaze: Do not set MO_ALIGN for user-only, Richard Henderson, 2021/10/12
- [PATCH v4 11/48] linux-user/hppa: Remove POWERPC_EXCP_ALIGN handling, Richard Henderson, 2021/10/12
- [PATCH v4 12/48] target/sh4: Set fault address in superh_cpu_do_unaligned_access, Richard Henderson, 2021/10/12
- [PATCH v4 07/48] target/ppc: Move SPR_DSISR setting to powerpc_excp, Richard Henderson, 2021/10/12
- [PATCH v4 08/48] target/ppc: Set fault address in ppc_cpu_do_unaligned_access, Richard Henderson, 2021/10/12
- [PATCH v4 09/48] target/ppc: Restrict ppc_cpu_do_unaligned_access to sysemu, Richard Henderson, 2021/10/12