diff options
author | Emilio G. Cota <cota@braap.org> | 2016-04-07 13:19:22 -0400 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-05-12 14:06:40 -1000 |
commit | 89fee74a0f066dfd73830a7b5fa137e87888c870 (patch) | |
tree | c328b72c40688fa8467bda05f05b90f6d3c60c50 /exec.c | |
parent | f68419eee9a966f5a915314c43cda6778f976a77 (diff) | |
download | qemu-89fee74a0f066dfd73830a7b5fa137e87888c870.tar.gz qemu-89fee74a0f066dfd73830a7b5fa137e87888c870.tar.bz2 qemu-89fee74a0f066dfd73830a7b5fa137e87888c870.zip |
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>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2087,7 +2087,7 @@ static void check_watchpoint(int offset, int len, MemTxAttrs attrs, int flags) target_ulong pc, cs_base; target_ulong vaddr; CPUWatchpoint *wp; - int cpu_flags; + uint32_t cpu_flags; if (cpu->watchpoint_hit) { /* We re-entered the check after replacing the TB. Now raise |