qemu/target/mips
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
..
sysemu target/mips: Remove CPUMIPSState::CP0_SAARI field 2024-02-15 15:53:12 +01:00
tcg target/mips: Remove the unused DisasContext::saar field 2024-02-15 15:53:12 +01:00
cpu-defs.c.inc target/mips: Use generic cpu_list() 2024-01-05 16:20:14 +01:00
cpu-param.h target/mips: Remove NB_MMU_MODES define 2023-03-13 06:44:37 -07:00
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/mips: Remove CPUMIPSState::CP0_SAARI field 2024-02-15 15:53:12 +01:00
fpu_helper.h
fpu.c
gdbstub.c gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
helper.h target/mips: Implement Loongson CSR instructions 2023-07-10 23:33:37 +02:00
internal.h target/mips: Remove unused mips_def_t::SAARP field 2024-02-15 15:53:12 +01:00
Kconfig kconfig: use "select" to enable semihosting 2024-02-09 17:52:30 +00:00
kvm_mips.h kvm: Introduce kvm_arch_get_default_type hook 2023-08-22 17:31:02 +01:00
kvm.c system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00
meson.build meson: rename config_all 2023-12-31 09:11:28 +01:00
mips-defs.h target/mips: introduce decodetree structure for Cavium Octeon extension 2022-07-12 22:30:09 +02:00
msa.c