]> git.proxmox.com Git - qemu.git/commit
cpu: Move cpu_index field to CPUState
authorAndreas Färber <afaerber@suse.de>
Mon, 17 Dec 2012 05:18:02 +0000 (06:18 +0100)
committerAndreas Färber <afaerber@suse.de>
Tue, 15 Jan 2013 03:09:13 +0000 (04:09 +0100)
commit55e5c2850293547203874098f7cec148ffd12dfa
treef9a9cc316999b7b52726b5186a925022b3747daa
parent1b1ed8dc40635d60dd95c04658989af63542fcbf
cpu: Move cpu_index field to CPUState

Note that target-alpha accesses this field from TCG, now using a
negative offset. Therefore the field is placed last in CPUState.

Pass PowerPCCPU to [kvm]ppc_fixup_cpu() to facilitate this change.

Move common parts of mips cpu_state_reset() to mips_cpu_reset().

Acked-by: Richard Henderson <rth@twiddle.net> (for alpha)
[AF: Rebased onto ppc CPU subclasses and openpic changes]
Signed-off-by: Andreas Färber <afaerber@suse.de>
40 files changed:
cpus.c
exec.c
gdbstub.c
hw/alpha_typhoon.c
hw/arm_gic.c
hw/arm_mptimer.c
hw/openpic.c
hw/ppc/e500.c
hw/ppce500_spin.c
hw/pxa.h
hw/pxa2xx.c
hw/pxa2xx_gpio.c
hw/spapr.c
hw/spapr_hcall.c
hw/spapr_rtas.c
hw/xics.c
include/exec/cpu-defs.h
include/exec/gdbstub.h
include/qom/cpu.h
kvm-all.c
monitor.c
target-alpha/translate.c
target-arm/cpu.c
target-arm/helper.c
target-cris/cpu.c
target-i386/cpu.c
target-i386/helper.c
target-i386/misc_helper.c
target-lm32/cpu.c
target-m68k/cpu.c
target-microblaze/cpu.c
target-mips/cpu.c
target-mips/translate.c
target-openrisc/cpu.c
target-ppc/kvm.c
target-ppc/kvm_ppc.h
target-ppc/translate_init.c
target-s390x/cpu.c
target-sh4/cpu.c
target-sparc/cpu.c