]> git.proxmox.com Git - mirror_qemu.git/commit - target-i386/cpu.h
tb: consistently use uint32_t for tb->flags
authorEmilio G. Cota <cota@braap.org>
Thu, 7 Apr 2016 17:19:22 +0000 (13:19 -0400)
committerRichard Henderson <rth@twiddle.net>
Fri, 13 May 2016 00:06:40 +0000 (14:06 -1000)
commit89fee74a0f066dfd73830a7b5fa137e87888c870
treec328b72c40688fa8467bda05f05b90f6d3c60c50
parentf68419eee9a966f5a915314c43cda6778f976a77
tb: consistently use uint32_t for tb->flags

We are inconsistent with the type of tb->flags: usage varies loosely
between int and uint64_t. Settle to uint32_t everywhere, which is
superior to both: at least one target (aarch64) uses the most significant
bit in the u32, and uint64_t is wasteful.

Compile-tested for all targets.

Suggested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Suggested-by: Richard Henderson <rth@twiddle.net>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1460049562-23517-1-git-send-email-cota@braap.org>
24 files changed:
cpu-exec.c
exec.c
hw/i386/kvmvapic.c
include/exec/exec-all.h
target-alpha/cpu.h
target-arm/cpu.h
target-cris/cpu.h
target-i386/cpu.h
target-i386/translate.c
target-lm32/cpu.h
target-m68k/cpu.h
target-microblaze/cpu.h
target-mips/cpu.h
target-moxie/cpu.h
target-openrisc/cpu.h
target-ppc/cpu.h
target-s390x/cpu.h
target-sh4/cpu.h
target-sparc/cpu.h
target-tilegx/cpu.h
target-tricore/cpu.h
target-unicore32/cpu.h
target-xtensa/cpu.h
translate-all.c