cpu: Replace do_interrupt() by CPUClass::do_interrupt method
commit97a8ea5a3ae7938cb54fd4dc19d3a413024bc6c0
authorAndreas Färber <afaerber@suse.de>
Sat, 2 Feb 2013 09:57:51 +0000 (2 10:57 +0100)
committerAndreas Färber <afaerber@suse.de>
Tue, 12 Mar 2013 09:35:55 +0000 (12 10:35 +0100)
tree6c9121e0571f75c8f5479e0027589f0d2f0178c7
parentc3affe5670e5d0df8a7e06f1d6e80853633146df
cpu: Replace do_interrupt() by CPUClass::do_interrupt method

This removes a global per-target function and thus takes us one step
closer to compiling multiple targets into one executable.

It will also allow to override the interrupt handling for certain CPU
families.

Signed-off-by: Andreas Färber <afaerber@suse.de>
63 files changed:
cpu-exec.c
include/qom/cpu.h
target-alpha/cpu-qom.h
target-alpha/cpu.c
target-alpha/cpu.h
target-alpha/helper.c
target-arm/cpu-qom.h
target-arm/cpu.c
target-arm/cpu.h
target-arm/helper.c
target-cris/cpu-qom.h
target-cris/cpu.c
target-cris/cpu.h
target-cris/helper.c
target-i386/cpu-qom.h
target-i386/cpu.c
target-i386/cpu.h
target-i386/seg_helper.c
target-lm32/cpu-qom.h
target-lm32/cpu.c
target-lm32/cpu.h
target-lm32/helper.c
target-m68k/cpu-qom.h
target-m68k/cpu.c
target-m68k/cpu.h
target-m68k/op_helper.c
target-microblaze/cpu-qom.h
target-microblaze/cpu.c
target-microblaze/cpu.h
target-microblaze/helper.c
target-mips/cpu-qom.h
target-mips/cpu.c
target-mips/cpu.h
target-mips/helper.c
target-openrisc/cpu.c
target-openrisc/cpu.h
target-openrisc/interrupt.c
target-ppc/cpu-qom.h
target-ppc/cpu.h
target-ppc/excp_helper.c
target-ppc/translate_init.c
target-s390x/cpu-qom.h
target-s390x/cpu.c
target-s390x/cpu.h
target-s390x/helper.c
target-sh4/cpu-qom.h
target-sh4/cpu.c
target-sh4/cpu.h
target-sh4/helper.c
target-sparc/cpu-qom.h
target-sparc/cpu.c
target-sparc/cpu.h
target-sparc/int32_helper.c
target-sparc/int64_helper.c
target-unicore32/cpu-qom.h
target-unicore32/cpu.c
target-unicore32/cpu.h
target-unicore32/helper.c
target-unicore32/softmmu.c
target-xtensa/cpu-qom.h
target-xtensa/cpu.c
target-xtensa/cpu.h
target-xtensa/helper.c