qemu/target
Philippe Mathieu-Daudé 348802b526 target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler
Since CPU() macro is a simple cast, the following are equivalent:

  Object *obj;
  CPUState *cs = CPU(obj)

In order to ease static analysis when running
scripts/coccinelle/cpu_env.cocci from the previous commit,
replace:

 - CPU_GET_CLASS(cpu);
 + CPU_GET_CLASS(obj);

Most code use the 'cs' variable name for CPUState handle.
Replace few 's' -> 'cs' to unify cpu_reset_hold() style.

No logical change in this patch.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240129164514.73104-7-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2024-03-12 11:46:16 +01:00
..
alpha target/alpha: Enable TARGET_PAGE_BITS_VARY for user-only 2024-02-29 11:35:37 -10:00
arm target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
avr target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
cris target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
hexagon target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
hppa bulk: Call in place single use cpu_env() 2024-03-12 11:46:16 +01:00
i386 target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
loongarch target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
m68k target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
microblaze target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
mips target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
nios2 target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
openrisc target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
ppc target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
riscv target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
rx target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
s390x target/s390x/cpu_models: Fix missing ERRP_GUARD() for error_prepend() 2024-03-12 11:45:45 +01:00
sh4 target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
sparc target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
tricore target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
xtensa target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
Kconfig hw/loongarch: Add support loongson3 virt machine type. 2022-06-06 18:09:03 +00:00
meson.build target: Make qemu_target_page_mask() available for *-user 2024-01-29 21:04:10 +10:00
target-common.c target: Make qemu_target_page_mask() available for *-user 2024-01-29 21:04:10 +10:00