hw/core: Constify TCGCPUOps
commit119065574d02deffc28fe5b6a864db9b467c6ffd
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 27 Feb 2021 23:21:17 +0000 (27 15:21 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 26 May 2021 22:33:59 +0000 (26 15:33 -0700)
treec39e28d90f8c3744c6ec816109df6c1b7a3000f8
parent3803b6b4273afd50021c39a8e34ca706aeadb684
hw/core: Constify TCGCPUOps

We no longer have any runtime modifications to this struct,
so declare them all const.

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20210227232519.222663-3-richard.henderson@linaro.org>
22 files changed:
include/hw/core/cpu.h
target/alpha/cpu.c
target/arm/cpu.c
target/arm/cpu_tcg.c
target/avr/cpu.c
target/cris/cpu.c
target/hexagon/cpu.c
target/hppa/cpu.c
target/i386/tcg/tcg-cpu.c
target/m68k/cpu.c
target/microblaze/cpu.c
target/mips/cpu.c
target/nios2/cpu.c
target/openrisc/cpu.c
target/ppc/cpu_init.c
target/riscv/cpu.c
target/rx/cpu.c
target/s390x/cpu.c
target/sh4/cpu.c
target/sparc/cpu.c
target/tricore/cpu.c
target/xtensa/cpu.c