Message ID | 1331761376-20362-1-git-send-email-afaerber@suse.de |
---|---|
State | New |
Headers | show |
On 03/14/2012 04:42 PM, Andreas Färber wrote: > Hello Anthony, > > Please pull the second QOM CPU series, > which frees the identifiers cpu_reset and CPUState and introduces TYPE_CPU. > > Cc: Anthony Liguori<anthony@codemonkey.ws> > > The following changes since commit 418ba9e5d6849ef2e8512d8853628ce4bf37937a: > > qom: Introduce object_class_get_list() (2012-03-14 15:30:39 -0500) > > are available in the git repository at: > git://repo.or.cz/qemu/afaerber.git qom-cpu Pulled. Thanks. Regards, Anthony Liguori > > Alexander Graf (1): > PPC: 405: Use proper CPU reset > > Andreas Färber (42): > Rename cpu_reset() to cpu_state_reset() > monitor: Don't access registers through CPUState > monitor: Avoid CPUState in read/write functions > target-lm32/microblaze: Typedef struct CPU{MB,LM32}State > target-sparc: Typedef struct CPUSPARCState early > target-unicore32: Rename to CPUUniCore32State > hw/mc146818: Drop unneeded #includes > linux-user: Don't overuse CPUState > darwin-user: Don't overuse CPUState > bsd-user: Don't overuse CPUState > target-alpha: Don't overuse CPUState > target-arm: Don't overuse CPUState > target-cris: Don't overuse CPUState > target-i386: Don't overuse CPUState > target-lm32: Don't overuse CPUState > target-m68k: Don't overuse CPUState > target-microblaze: Don't overuse CPUState > target-mips: Don't overuse CPUState > target-ppc: Don't overuse CPUState > target-s390x: Don't overuse CPUState > target-sh4: Don't overuse CPUState > target-sparc: Don't overuse CPUState > target-unicore32: Don't overuse CPUState > target-xtensa: Don't overuse CPUState > arm-semi: Don't use CPUState > m68k-semi: Don't use CPUState > xtensa-semi: Don't use CPUState > alpha hw/: Don't use CPUState > arm hw/: Don't use CPUState > cris hw/: Don't use CPUState > i386 hw/: Don't use CPUState > lm32 hw/: Don't use CPUState > m68k hw/: Don't use CPUState > microblaze hw/: Don't use CPUState > mips hw/: Don't use CPUState > ppc hw/: Don't use CPUState > s390x hw/: Don't use CPUState > sh4 hw/: Don't use CPUState > sparc hw/: Don't use CPUState > xtensa hw/: Don't use CPUState > Rename CPUState -> CPUArchState > qom: Introduce CPU class > > Makefile.objs | 3 + > arm-semi.c | 10 +- > bsd-user/main.c | 14 +- > bsd-user/qemu.h | 12 +- > bsd-user/signal.c | 2 +- > configure | 1 + > cpu-all.h | 56 ++-- > cpu-defs.h | 2 +- > cpu-exec.c | 20 +- > cpus.c | 76 +++--- > darwin-user/main.c | 22 +- > darwin-user/qemu.h | 6 +- > darwin-user/signal.c | 8 +- > def-helper.h | 2 +- > disas.c | 4 +- > disas.h | 2 +- > dyngen-exec.h | 4 +- > exec-all.h | 38 ++-- > exec.c | 114 +++++----- > gdbstub.c | 100 ++++---- > gdbstub.h | 16 +- > gen-icount.h | 8 +- > hw/alpha_dp264.c | 2 +- > hw/alpha_sys.h | 2 +- > hw/alpha_typhoon.c | 14 +- > hw/an5206.c | 2 +- > hw/apic.h | 2 +- > hw/arm-misc.h | 8 +- > hw/arm_boot.c | 10 +- > hw/arm_pic.c | 4 +- > hw/armv7m.c | 4 +- > hw/axis_dev88.c | 2 +- > hw/cris-boot.c | 6 +- > hw/cris-boot.h | 2 +- > hw/cris_pic_cpu.c | 4 +- > hw/dummy_m68k.c | 2 +- > hw/etraxfs.h | 2 +- > hw/etraxfs_ser.c | 4 +- > hw/exynos4210.h | 2 +- > hw/grlib.h | 2 +- > hw/highbank.c | 8 +- > hw/integratorcp.c | 2 +- > hw/kvm/apic.c | 2 +- > hw/kvmvapic.c | 22 +- > hw/leon3.c | 10 +- > hw/lm32_boards.c | 12 +- > hw/mc146818rtc.c | 2 - > hw/mcf.h | 4 +- > hw/mcf5206.c | 4 +- > hw/mcf5208.c | 2 +- > hw/mcf_intc.c | 4 +- > hw/microblaze_boot.c | 10 +- > hw/microblaze_boot.h | 4 +- > hw/microblaze_pic_cpu.c | 4 +- > hw/microblaze_pic_cpu.h | 2 +- > hw/milkymist.c | 10 +- > hw/mips_cpudevs.h | 4 +- > hw/mips_fulong2e.c | 12 +- > hw/mips_int.c | 6 +- > hw/mips_jazz.c | 8 +- > hw/mips_malta.c | 12 +- > hw/mips_mipssim.c | 8 +- > hw/mips_r4k.c | 8 +- > hw/mips_timer.c | 20 +- > hw/mpc8544_guts.c | 2 +- > hw/musicpal.c | 2 +- > hw/omap.h | 2 +- > hw/omap1.c | 2 +- > hw/omap2.c | 2 +- > hw/pc.c | 22 +- > hw/petalogix_ml605_mmu.c | 4 +- > hw/petalogix_s3adsp1800_mmu.c | 4 +- > hw/ppc.c | 123 +++++----- > hw/ppc.h | 28 +- > hw/ppc405.h | 8 +- > hw/ppc405_uc.c | 50 ++--- > hw/ppc440_bamboo.c | 8 +- > hw/ppc4xx.h | 8 +- > hw/ppc4xx_devs.c | 17 +- > hw/ppc_booke.c | 20 +- > hw/ppc_newworld.c | 11 +- > hw/ppc_oldworld.c | 11 +- > hw/ppc_prep.c | 13 +- > hw/ppce500_mpc8544ds.c | 16 +- > hw/ppce500_spin.c | 8 +- > hw/pxa.h | 6 +- > hw/pxa2xx.c | 2 +- > hw/pxa2xx_gpio.c | 4 +- > hw/pxa2xx_pic.c | 4 +- > hw/r2d.c | 8 +- > hw/realview.c | 2 +- > hw/s390-virtio-bus.c | 6 +- > hw/s390-virtio.c | 16 +- > hw/sh.h | 2 +- > hw/shix.c | 2 +- > hw/spapr.c | 17 +- > hw/spapr.h | 4 +- > hw/spapr_hcall.c | 42 ++-- > hw/spapr_llan.c | 10 +- > hw/spapr_rtas.c | 4 +- > hw/spapr_vio.c | 12 +- > hw/spapr_vty.c | 4 +- > hw/strongarm.h | 2 +- > hw/sun4m.c | 16 +- > hw/sun4u.c | 26 +- > hw/versatilepb.c | 2 +- > hw/vexpress.c | 4 +- > hw/virtex_ml507.c | 12 +- > hw/vmport.c | 12 +- > hw/xen_machine_pv.c | 2 +- > hw/xics.c | 10 +- > hw/xilinx_zynq.c | 2 +- > hw/xtensa_lx60.c | 10 +- > hw/xtensa_pic.c | 16 +- > hw/xtensa_sim.c | 4 +- > include/qemu/cpu.h | 75 ++++++ > kvm-all.c | 54 ++-- > kvm-stub.c | 22 +- > kvm.h | 60 +++--- > linux-user/elfload.c | 40 ++-- > linux-user/m68k/syscall.h | 2 +- > linux-user/main.c | 44 ++-- > linux-user/qemu.h | 14 +- > linux-user/signal.c | 217 +++++++++-------- > linux-user/syscall.c | 30 ++-- > m68k-semi.c | 4 +- > monitor.c | 544 ++++++++++++++++++++-------------------- > poison.h | 2 +- > qom/Makefile | 1 + > qom/cpu.c | 58 +++++ > softmmu-semi.h | 12 +- > target-alpha/cpu.h | 26 +- > target-alpha/helper.c | 18 +- > target-alpha/machine.c | 44 ++-- > target-alpha/op_helper.c | 6 +- > target-alpha/translate.c | 56 ++-- > target-arm/cpu.h | 12 +- > target-arm/helper.c | 120 +++++----- > target-arm/iwmmxt_helper.c | 66 +++--- > target-arm/neon_helper.c | 88 ++++---- > target-arm/op_helper.c | 6 +- > target-arm/translate.c | 104 ++++---- > target-cris/cpu.h | 14 +- > target-cris/helper.c | 14 +- > target-cris/mmu.c | 14 +- > target-cris/mmu.h | 6 +- > target-cris/op_helper.c | 6 +- > target-cris/translate.c | 50 ++-- > target-cris/translate_v10.c | 26 +- > target-i386/cpu.h | 36 ++-- > target-i386/helper.c | 40 ++-- > target-i386/kvm.c | 76 +++--- > target-i386/machine.c | 172 +++++++------- > target-i386/op_helper.c | 34 ++-- > target-i386/translate.c | 82 +++--- > target-lm32/cpu.h | 31 ++-- > target-lm32/helper.c | 18 +- > target-lm32/machine.c | 22 +- > target-lm32/op_helper.c | 4 +- > target-lm32/translate.c | 38 ++-- > target-m68k/cpu.h | 18 +- > target-m68k/helper.c | 82 +++--- > target-m68k/op_helper.c | 20 +- > target-m68k/translate.c | 16 +- > target-microblaze/cpu.h | 33 ++-- > target-microblaze/helper.c | 10 +- > target-microblaze/mmu.c | 8 +- > target-microblaze/mmu.h | 6 +- > target-microblaze/op_helper.c | 8 +- > target-microblaze/translate.c | 54 ++-- > target-mips/cpu.h | 42 ++-- > target-mips/helper.c | 26 +- > target-mips/machine.c | 4 +- > target-mips/op_helper.c | 124 +++++----- > target-mips/translate.c | 360 ++++++++++++++-------------- > target-ppc/cpu.h | 43 ++-- > target-ppc/helper.c | 82 +++--- > target-ppc/kvm.c | 38 ++-- > target-ppc/kvm_ppc.h | 12 +- > target-ppc/machine.c | 4 +- > target-ppc/op_helper.c | 12 +- > target-ppc/translate.c | 78 +++--- > target-ppc/translate_init.c | 42 ++-- > target-s390x/cpu.h | 48 ++-- > target-s390x/helper.c | 42 ++-- > target-s390x/kvm.c | 56 ++-- > target-s390x/op_helper.c | 70 +++--- > target-s390x/translate.c | 56 ++-- > target-sh4/cpu.h | 12 +- > target-sh4/helper.c | 28 +- > target-sh4/op_helper.c | 4 +- > target-sh4/translate.c | 50 ++-- > target-sparc/cc_helper.c | 66 +++--- > target-sparc/cpu.h | 64 +++--- > target-sparc/cpu_init.c | 4 +- > target-sparc/fop_helper.c | 68 +++--- > target-sparc/helper.c | 16 +- > target-sparc/int32_helper.c | 6 +- > target-sparc/int64_helper.c | 12 +- > target-sparc/ldst_helper.c | 16 +- > target-sparc/machine.c | 4 +- > target-sparc/mmu_helper.c | 28 +- > target-sparc/op_helper.c | 4 +- > target-sparc/translate.c | 80 +++--- > target-sparc/win_helper.c | 58 +++--- > target-unicore32/cpu.h | 32 ++-- > target-unicore32/helper.c | 62 +++--- > target-unicore32/op_helper.c | 8 +- > target-unicore32/translate.c | 60 +++--- > target-xtensa/cpu.h | 46 ++-- > target-xtensa/helper.c | 42 ++-- > target-xtensa/op_helper.c | 30 ++-- > target-xtensa/translate.c | 22 +- > tcg/arm/tcg-target.c | 22 +- > tcg/hppa/tcg-target.c | 8 +- > tcg/i386/tcg-target.c | 2 +- > tcg/ia64/tcg-target.c | 10 +- > tcg/mips/tcg-target.c | 14 +- > tcg/ppc/tcg-target.c | 4 +- > tcg/ppc64/tcg-target.c | 4 +- > tcg/s390/tcg-target.c | 8 +- > tcg/sparc/tcg-target.c | 4 +- > tcg/tci/tcg-target.c | 2 +- > tcg/tci/tcg-target.h | 2 +- > tci.c | 4 +- > translate-all.c | 4 +- > user-exec.c | 4 +- > xen-all.c | 4 +- > xtensa-semi.c | 2 +- > 229 files changed, 3142 insertions(+), 2978 deletions(-) > create mode 100644 include/qemu/cpu.h > create mode 100644 qom/cpu.c > >
Am 15.03.2012 01:49, schrieb Anthony Liguori: > On 03/14/2012 04:42 PM, Andreas Färber wrote: >> Hello Anthony, >> >> Please pull the second QOM CPU series, >> which frees the identifiers cpu_reset and CPUState and introduces >> TYPE_CPU. >> >> Cc: Anthony Liguori<anthony@codemonkey.ws> >> >> The following changes since commit >> 418ba9e5d6849ef2e8512d8853628ce4bf37937a: >> >> qom: Introduce object_class_get_list() (2012-03-14 15:30:39 -0500) >> >> are available in the git repository at: >> git://repo.or.cz/qemu/afaerber.git [qom-cpu.v5] > > Pulled. Thanks. Thanks. A note to everyone who's now getting compilation errors for CPUState for their patches or on local branches: The meaning of CPUState was changed in this series: It used to be a #define pointing to struct CPU${arch}State, it is now a typedef for a QOM struct. * If your code is target-specific, use CPU${arch}State. These structs will remain for TCG. * Otherwise if it's code for multiple targets, use CPUArchState alias. That's considered deprecated and will be dropped in favor of CPUState. "We apologize for the inconvenience," Andreas