]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/v7m: Remove use of &first_cpu in machine_init()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 12 Jan 2025 22:56:14 +0000 (23:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jan 2025 12:58:26 +0000 (12:58 +0000)
commitdeeb9969357d377110ac61fe3c6482c7303313ae
tree4039b34c0cc150d2290eff48a1e060809d7e8d14
parent19266bec2770f40baa6f17d9a7d84d0fd9211a2e
hw/arm/v7m: Remove use of &first_cpu in machine_init()

When instanciating the machine model, the machine_init()
implementations usually create the CPUs, so have access
to its first CPU. Use that rather then the &first_cpu
global.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Samuel Tardieu <sam@rfc1149.net>
Message-id: 20250112225614.33723-4-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/b-l475e-iot01a.c
hw/arm/microbit.c
hw/arm/mps2-tz.c
hw/arm/mps2.c
hw/arm/msf2-som.c
hw/arm/musca.c
hw/arm/netduino2.c
hw/arm/netduinoplus2.c
hw/arm/olimex-stm32-h405.c
hw/arm/stellaris.c
hw/arm/stm32vldiscovery.c