]> git.proxmox.com Git - qemu.git/commit
log: Change log_cpu_state[_mask]() argument to CPUState
authorAndreas Färber <afaerber@suse.de>
Sun, 16 Jun 2013 05:28:50 +0000 (07:28 +0200)
committerAndreas Färber <afaerber@suse.de>
Tue, 9 Jul 2013 19:33:04 +0000 (21:33 +0200)
commita0762859ae2aae2e221c59e2541f964f1350d68b
tree570d02d8ff3f926b9384186a1742b068c8042458
parent518e9d7d486273f4ee8d38946e73a7483aca4a92
log: Change log_cpu_state[_mask]() argument to CPUState

Since commit 878096eeb278a8ac1ccd6667af73e026f29b4cf5 (cpu: Turn
cpu_dump_{state,statistics}() into CPUState hooks) CPUArchState is no
longer needed.

Add documentation and make the functions available through qemu/log.h
outside NEED_CPU_H to allow use in qom/cpu.c. Moving them to qom/cpu.h
was not yet possible due to convoluted include paths, so that some
devices grow an implicit and unneeded dependency on qom/cpu.h for now.

Acked-by: Michael Walle <michael@walle.cc> (for lm32)
Reviewed-by: Richard Henderson <rth@twiddle.net>
[AF: Simplified mb_cpu_do_interrupt() and do_interrupt_all() changes]
Signed-off-by: Andreas Färber <afaerber@suse.de>
30 files changed:
cpu-exec.c
exec.c
include/qemu/log.h
linux-user/main.c
target-arm/cpu.c
target-cris/cpu.c
target-i386/cpu.c
target-i386/seg_helper.c
target-i386/smm_helper.c
target-lm32/cpu.c
target-lm32/helper.c
target-m68k/cpu.c
target-microblaze/cpu.c
target-microblaze/helper.c
target-microblaze/translate.c
target-mips/cpu.c
target-mips/helper.c
target-moxie/cpu.c
target-openrisc/cpu.c
target-openrisc/translate.c
target-ppc/mmu-hash32.c
target-ppc/mmu-hash64.c
target-ppc/mmu_helper.c
target-ppc/translate_init.c
target-s390x/cpu.c
target-sh4/cpu.c
target-sh4/helper.c
target-sparc/cpu.c
target-sparc/int32_helper.c
target-sparc/int64_helper.c