On 29/4/24 00:08, Richard Henderson wrote:
On 4/28/24 14:49, Philippe Mathieu-Daudé wrote:
cpu_loop_exit_requested() is specific to TCG, move it
to "exec/translate-all.h".
Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
include/exec/exec-all.h | 17 -----------------
include/exec/translate-all.h | 20 ++++++++++++++++++++
target/arm/tcg/helper-a64.c | 1 +
target/s390x/tcg/mem_helper.c | 1 +
4 files changed, 22 insertions(+), 17 deletions(-)
I guess we could dither about whether this is the best place, but I
guess it doesn't matter. Do you really need the CONFIG_TCG ifdef?
Right, actually 50 patches later it ends in "exec/cpu-loop.h",
and "exec/translate-all.h" is removed. I need to check whether
or not this patch is required at this stage, maybe not. Otherwise
I'll directly introduce "exec/cpu-loop.h" I guess.