qemu-e2k/target/sparc
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
..
asi.h target/sparc: correct typos 2024-02-21 08:16:58 +03:00
cpu-feature.h.inc
cpu-param.h
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu.c target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler 2024-03-12 11:46:16 +01:00
cpu.h target/sparc: Provide hint about CPUSPARCState::irq_manager member 2024-02-15 16:58:46 +01:00
fop_helper.c target/sparc: Split fcc out of env->fsr 2024-02-03 16:46:10 +10:00
gdbstub.c target/sparc: Introduce cpu_get_fsr, cpu_put_fsr 2024-02-03 16:46:10 +10:00
helper.c target/sparc: implement asr17 feature for smp 2024-02-15 16:58:46 +01:00
helper.h target/sparc: implement asr17 feature for smp 2024-02-15 16:58:46 +01:00
insns.decode
int32_helper.c system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00
int64_helper.c system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00
Kconfig
ldst_helper.c target/sparc: Remove qt0, qt1 temporaries 2024-02-03 16:46:10 +10:00
machine.c target/sparc: Introduce cpu_get_fsr, cpu_put_fsr 2024-02-03 16:46:10 +10:00
meson.build
mmu_helper.c accel/tcg: Add tlb_fill_flags to CPUTLBEntryFull 2024-03-05 13:22:56 +00:00
monitor.c
trace-events
trace.h
translate.c target/sparc: implement asr17 feature for smp 2024-02-15 16:58:46 +01:00
vis_helper.c
win_helper.c system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00