diff options
author | Richard Henderson | 2022-08-15 22:13:05 +0200 |
---|---|---|
committer | Richard Henderson | 2022-10-04 21:13:12 +0200 |
commit | a976a99a29755e8c7a275ac269db8a0a20d79e95 (patch) | |
tree | 27277657c7c72c3e03b61ecd9011ba28ac4571da /hw/core | |
parent | accel/tcg: Inline tb_flush_jmp_cache (diff) | |
download | qemu-a976a99a29755e8c7a275ac269db8a0a20d79e95.tar.gz qemu-a976a99a29755e8c7a275ac269db8a0a20d79e95.tar.xz qemu-a976a99a29755e8c7a275ac269db8a0a20d79e95.zip |
include/hw/core: Create struct CPUJumpCache
Wrap the bare TranslationBlock pointer into a structure.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/core')
-rw-r--r-- | hw/core/cpu-common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c index 9e3241b430..f9fdd46b9d 100644 --- a/hw/core/cpu-common.c +++ b/hw/core/cpu-common.c @@ -137,8 +137,7 @@ static void cpu_common_reset(DeviceState *dev) cpu->cflags_next_tb = -1; if (tcg_enabled()) { - cpu_tb_jmp_cache_clear(cpu); - + tcg_flush_jmp_cache(cpu); tcg_flush_softmmu_tlb(cpu); } } |