aboutsummaryrefslogtreecommitdiff
path: root/target/m68k
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-08-03 05:31:43 -1000
committerRichard Henderson <richard.henderson@linaro.org>2021-09-21 19:36:44 -0700
commit8b1d5b3c3507d062d7611a64a81989e8903605ed (patch)
tree4ebf8344b80f05d03d6229a8381c1d837cc63680 /target/m68k
parent2c3e83f92d93fbab071b8a96b8ab769b01902475 (diff)
downloadqemu-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/m68k')
-rw-r--r--target/m68k/cpu.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h
index 550eb02..a342372 100644
--- a/target/m68k/cpu.h
+++ b/target/m68k/cpu.h
@@ -177,13 +177,6 @@ int m68k_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg);
void m68k_tcg_init(void);
void m68k_cpu_init_gdb(M68kCPU *cpu);
-/*
- * 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_m68k_signal_handler(int host_signum, void *pinfo,
- void *puc);
uint32_t cpu_m68k_get_ccr(CPUM68KState *env);
void cpu_m68k_set_ccr(CPUM68KState *env, uint32_t);
void cpu_m68k_set_sr(CPUM68KState *env, uint32_t);
@@ -563,7 +556,6 @@ enum {
#define M68K_CPU_TYPE_NAME(model) model M68K_CPU_TYPE_SUFFIX
#define CPU_RESOLVING_TYPE TYPE_M68K_CPU
-#define cpu_signal_handler cpu_m68k_signal_handler
#define cpu_list m68k_cpu_list
/* MMU modes definitions */