accel/tcg: Move tcg_cflags_has/set() to 'exec/translation-block.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 12 Dec 2024 14:38:34 +0000 (15:38 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Dec 2024 16:44:57 +0000 (17:44 +0100)
commit8865049bab9957eb5b027d3e53bd05316817ea07
treef54952444222ec2387deee3c6e6d892b17865b2c
parent1760c5cce8301c4a4f007c793c872a8f16439326
accel/tcg: Move tcg_cflags_has/set() to 'exec/translation-block.h'

The TranslationBlock flags are defined in 'exec/translation-block.h'.
tcg_cflags_has/set() use them, it is more logical to declare them in
the same place. Move them there too.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241212144430.66224-2-philmd@linaro.org>
23 files changed:
accel/tcg/cpu-exec.c
accel/tcg/tcg-accel-ops.c
accel/tcg/watchpoint.c
include/exec/cpu-common.h
include/exec/translation-block.h
linux-user/mmap.c
linux-user/syscall.c
target/arm/cpu.c
target/avr/cpu.c
target/hexagon/cpu.c
target/hppa/cpu.c
target/i386/cpu.c
target/i386/helper.c
target/loongarch/cpu.c
target/microblaze/cpu.c
target/mips/tcg/exception.c
target/mips/tcg/system/special_helper.c
target/openrisc/cpu.c
target/riscv/tcg/tcg-cpu.c
target/rx/cpu.c
target/sh4/cpu.c
target/sparc/cpu.c
target/tricore/cpu.c