diff options
Diffstat (limited to 'hw/core/cpu.c')
-rw-r--r-- | hw/core/cpu.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/hw/core/cpu.c b/hw/core/cpu.c index c55c09f734..8654550d39 100644 --- a/hw/core/cpu.c +++ b/hw/core/cpu.c @@ -33,8 +33,7 @@ #include "hw/qdev-properties.h" #include "trace/trace-root.h" #include "qemu/plugin.h" - -CPUInterruptHandler cpu_interrupt_handler; +#include "sysemu/hw_accel.h" CPUState *cpu_by_arch_id(int64_t id) { @@ -393,17 +392,6 @@ static vaddr cpu_adjust_watchpoint_address(CPUState *cpu, vaddr addr, int len) return addr; } -static void generic_handle_interrupt(CPUState *cpu, int mask) -{ - cpu->interrupt_request |= mask; - - if (!qemu_cpu_is_self(cpu)) { - qemu_cpu_kick(cpu); - } -} - -CPUInterruptHandler cpu_interrupt_handler = generic_handle_interrupt; - static void cpu_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); |