diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-08-03 05:31:43 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-09-21 19:36:44 -0700 |
commit | 8b1d5b3c3507d062d7611a64a81989e8903605ed (patch) | |
tree | 4ebf8344b80f05d03d6229a8381c1d837cc63680 /target/arm/cpu.h | |
parent | 2c3e83f92d93fbab071b8a96b8ab769b01902475 (diff) | |
download | qemu-8b1d5b3c3507d062d7611a64a81989e8903605ed.zip qemu-8b1d5b3c3507d062d7611a64a81989e8903605ed.tar.gz qemu-8b1d5b3c3507d062d7611a64a81989e8903605ed.tar.bz2 |
include/exec: Move cpu_signal_handler declaration
There is nothing target specific about this. The implementation
is host specific, but the declaration is 100% common.
Reviewed-By: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r-- | target/arm/cpu.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 87235da..e33f37b 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1121,12 +1121,6 @@ static inline bool is_a64(CPUARMState *env) return env->aarch64; } -/* you can call this signal handler from your SIGBUS and SIGSEGV - signal handlers to inform the virtual CPU of exceptions. non zero - is returned if the signal was handled by the virtual CPU. */ -int cpu_arm_signal_handler(int host_signum, void *pinfo, - void *puc); - /** * pmu_op_start/finish * @env: CPUARMState @@ -3017,7 +3011,6 @@ bool write_cpustate_to_list(ARMCPU *cpu, bool kvm_sync); #define TYPE_ARM_HOST_CPU "host-" TYPE_ARM_CPU -#define cpu_signal_handler cpu_arm_signal_handler #define cpu_list arm_cpu_list /* ARM has the following "translation regimes" (as the ARM ARM calls them): |