cpu: Turn cpu_has_work() into a CPUClass hook
commit8c2e1b0093aa4a89548df47d969217d8b0dfd070
authorAndreas Färber <afaerber@suse.de>
Sun, 25 Aug 2013 16:53:55 +0000 (25 18:53 +0200)
committerAndreas Färber <afaerber@suse.de>
Thu, 13 Mar 2014 18:01:49 +0000 (13 19:01 +0100)
tree16656127c1a0c6194b25f29bd54f612b9c1f8679
parent1cf5ccbca8915277098727d900d52c495a711f88
cpu: Turn cpu_has_work() into a CPUClass hook

Default to false.

Tidy variable naming and inline cast uses while at it.

Tested-by: Jia Liu <proljc@gmail.com> (or32)
Signed-off-by: Andreas Färber <afaerber@suse.de>
36 files changed:
cpu-exec.c
cpus.c
include/qom/cpu.h
qom/cpu.c
target-alpha/cpu.c
target-alpha/cpu.h
target-arm/cpu.c
target-arm/cpu.h
target-cris/cpu.c
target-cris/cpu.h
target-i386/cpu.c
target-i386/cpu.h
target-lm32/cpu.c
target-lm32/cpu.h
target-m68k/cpu.c
target-m68k/cpu.h
target-microblaze/cpu.c
target-microblaze/cpu.h
target-mips/cpu.c
target-mips/cpu.h
target-moxie/cpu.c
target-moxie/cpu.h
target-openrisc/cpu.c
target-openrisc/cpu.h
target-ppc/cpu.h
target-ppc/translate_init.c
target-s390x/cpu.c
target-s390x/cpu.h
target-sh4/cpu.c
target-sh4/cpu.h
target-sparc/cpu.c
target-sparc/cpu.h
target-unicore32/cpu.c
target-unicore32/cpu.h
target-xtensa/cpu.c
target-xtensa/cpu.h