diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-23 16:09:06 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-25 12:59:09 +0200 |
commit | 0a5692fecc76c6fee9a4fc86dbe8faf84ce30ce8 (patch) | |
tree | eb6c818962ebcdafdf74eca06c33a2ea41ff7cff /hw/misc/stm32f4xx_exti.c | |
parent | 9ce6caa0d94a52a0ada77f494e8e23e62198aef0 (diff) | |
download | qemu-0a5692fecc76c6fee9a4fc86dbe8faf84ce30ce8.zip qemu-0a5692fecc76c6fee9a4fc86dbe8faf84ce30ce8.tar.gz qemu-0a5692fecc76c6fee9a4fc86dbe8faf84ce30ce8.tar.bz2 |
cpus: Introduce CPUClass::list_cpus() callback
Some targets define cpu_list to a method listing their
CPUs on stdout. In order to make list_cpus() generic,
introduce the CPUClass::list_cpus() callback.
When no callback is registered, list_cpus() defaults
to 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-2-philmd@linaro.org>
Diffstat (limited to 'hw/misc/stm32f4xx_exti.c')
0 files changed, 0 insertions, 0 deletions