]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/sparc: Register CPUClass:list_cpus
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 23 Mar 2025 15:15:35 +0000 (16:15 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 25 Apr 2025 10:59:09 +0000 (12:59 +0200)
commit8b54467fb61eb507651ea8be6d786b0f2b0a1524
tree5307b6d9d7f7eca5fd1b69c4e63b870ec6b0b7aa
parent53c895fbb2d31b0de6a04a6f7e86e17b48324dc8
target/sparc: Register CPUClass:list_cpus

Register sparc_cpu_list() as CPUClass:list_cpus callback.
Reduce its scope and remove the cpu_list definition.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20250324185837.46506-5-philmd@linaro.org>
target/sparc/cpu.c
target/sparc/cpu.h