]> git.proxmox.com Git - mirror_qemu.git/commit - target/sparc/cpu.c
tcg: Make tb arg to synchronize_from_tb const
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 29 Oct 2020 19:30:01 +0000 (12:30 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 7 Jan 2021 15:09:41 +0000 (05:09 -1000)
commit04a37d4ca4bfef595b2e9bec99eac8bfc806c76b
treebbfa000533efff43d45ad1946b97a0d647b016cc
parentd997143533e010b37363b10eddaf18ccb0e5659f
tcg: Make tb arg to synchronize_from_tb const

There is nothing within the translators that ought to be
changing the TranslationBlock data, so make it const.

This does not actually use the read-only copy of the
data structure that exists within the rx region.

Reviewed-by: Joelle van Dyne <j@getutm.app>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
12 files changed:
include/hw/core/cpu.h
target/arm/cpu.c
target/avr/cpu.c
target/hppa/cpu.c
target/i386/tcg/tcg-cpu.c
target/microblaze/cpu.c
target/mips/cpu.c
target/riscv/cpu.c
target/rx/cpu.c
target/sh4/cpu.c
target/sparc/cpu.c
target/tricore/cpu.c