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 <ag...@suse.de> > --- > 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