[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC qom-cpu 01/41] cpu: Turn cpu_has_work() into a CPU
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [RFC qom-cpu 01/41] cpu: Turn cpu_has_work() into a CPUClass hook |
Date: |
Wed, 05 Feb 2014 19:51:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Am 04.09.2013 11:04, schrieb Andreas Färber:
> Default to false.
>
> Tidy variable naming and inline cast uses while at it.
>
> Signed-off-by: Andreas Färber <address@hidden>
If I've re-read the IRC transcript correctly, Paolo objected to patch
03/41 and had doubts about 02/41. I have therefore applied this 01/41 to
qom-cpu to crack down on functions new targets need to implement in cpu.h:
https://github.com/afaerber/qemu-cpu/commits/qom-cpu
Regards,
Andreas
> ---
> cpu-exec.c | 5 -----
> cpus.c | 2 +-
> include/qom/cpu.h | 12 ++++++++++--
> qom/cpu.c | 6 ++++++
> target-alpha/cpu.c | 16 ++++++++++++++++
> target-alpha/cpu.h | 15 ---------------
> target-arm/cpu.c | 7 +++++++
> target-arm/cpu.h | 6 ------
> target-cris/cpu.c | 6 ++++++
> target-cris/cpu.h | 5 -----
> target-i386/cpu.c | 15 +++++++++++++++
> target-i386/cpu.h | 14 --------------
> target-lm32/cpu.c | 6 ++++++
> target-lm32/cpu.h | 5 -----
> target-m68k/cpu.c | 6 ++++++
> target-m68k/cpu.h | 5 -----
> target-microblaze/cpu.c | 6 ++++++
> target-microblaze/cpu.h | 5 -----
> target-mips/cpu.c | 30 ++++++++++++++++++++++++++++++
> target-mips/cpu.h | 28 ----------------------------
> target-moxie/cpu.c | 6 ++++++
> target-moxie/cpu.h | 5 -----
> target-openrisc/cpu.c | 7 +++++++
> target-openrisc/cpu.h | 5 -----
> target-ppc/cpu.h | 8 --------
> target-ppc/translate_init.c | 9 +++++++++
> target-s390x/cpu.c | 10 ++++++++++
> target-s390x/cpu.h | 9 ---------
> target-sh4/cpu.c | 6 ++++++
> target-sh4/cpu.h | 5 -----
> target-sparc/cpu.c | 10 ++++++++++
> target-sparc/cpu.h | 9 ---------
> target-unicore32/cpu.c | 7 +++++++
> target-unicore32/cpu.h | 6 ------
> target-xtensa/cpu.c | 8 ++++++++
> target-xtensa/cpu.h | 7 -------
> 36 files changed, 172 insertions(+), 145 deletions(-)
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [RFC qom-cpu 01/41] cpu: Turn cpu_has_work() into a CPUClass hook,
Andreas Färber <=