qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] PPC: Make DCR uint32_t


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] PPC: Make DCR uint32_t
Date: Sun, 27 Dec 2009 12:06:13 +0100
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707)

Alexander Graf schrieb:
> For what I know DCR is always 32 bits wide, so we should also use
> uint32_t to
> pass it along the stacks.
>
> This fixes a warning when compiling qemu-system-ppc64 with KVM
> enabled, making
> it compile without --disable-werror
>
> Signed-off-by: Alexander Graf <address@hidden>
> ---
> darwin-user/main.c | 4 ++--
> hw/ppc.c | 4 ++--
> hw/ppc.h | 4 ++--
> hw/ppc405_uc.c | 46 +++++++++++++++++++++++-----------------------
> hw/ppc4xx_devs.c | 14 +++++++-------
> linux-user/main.c | 4 ++--
> target-ppc/cpu.h | 4 ++--
> target-ppc/helper.h | 4 ++--
> target-ppc/op_helper.c | 10 +++++-----
> 9 files changed, 47 insertions(+), 47 deletions(-)

Hi,

this patch (which was already applied to qemu master)
breaks builds with --enable-debug-tcg for all ppc64 targets:

  CC    ppc64-softmmu/translate.o
/home/stefan/src/qemu/repo.or.cz/qemu/ar7/target-ppc/translate.c: In
function ‘gen_mfdcr’:
/home/stefan/src/qemu/repo.or.cz/qemu/ar7/target-ppc/translate.c:5568:
error: incompatible type for argument 1 of ‘gen_helper_load_dcr’
/home/stefan/src/qemu/repo.or.cz/qemu/ar7/target-ppc/translate.c:5568:
error: incompatible type for argument 2 of ‘gen_helper_load_dcr’
...

Regards
Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]