]> git.proxmox.com Git - qemu.git/commit - include/qom/cpu.h
exec: Pass CPUState to cpu_reset_interrupt()
authorAndreas Färber <afaerber@suse.de>
Thu, 17 Jan 2013 21:30:20 +0000 (22:30 +0100)
committerAndreas Färber <afaerber@suse.de>
Tue, 12 Mar 2013 09:35:55 +0000 (10:35 +0100)
commitd8ed887bdcd29ce2e967f8b15a6a2b6dcaa11cd5
tree57f8deccddd53e7aab5ca75d1d194da635a35790
parent259186a7d2f7184efc96ae99bc5658e6159f53ad
exec: Pass CPUState to cpu_reset_interrupt()

Move it to qom/cpu.c to avoid build failures depending on include order
of cpu-qom.h and exec/cpu-all.h.

Change opaques of various ..._irq_handler() functions to the
appropriate CPU type to facilitate using cpu_reset_interrupt().

Fix Coding Style issues while at it (missing braces, indentation).

Signed-off-by: Andreas Färber <afaerber@suse.de>
24 files changed:
exec.c
hw/alpha_typhoon.c
hw/apic.c
hw/arm/pic_cpu.c
hw/arm/pxa2xx_pic.c
hw/cris/pic_cpu.c
hw/i386/pc.c
hw/lm32/lm32_boards.c
hw/lm32/milkymist.c
hw/microblaze/pic_cpu.c
hw/mips/mips_int.c
hw/openrisc/pic_cpu.c
hw/ppc/ppc.c
hw/sh_intc.c
hw/sparc/leon3.c
hw/sparc/sun4m.c
hw/sparc64/sun4u.c
hw/unicore32/puv3.c
hw/xtensa/pic_cpu.c
include/exec/cpu-all.h
include/qom/cpu.h
qom/cpu.c
target-m68k/helper.c
target-mips/op_helper.c