On Sun, 12 Jan 2025 at 22:56, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> After renaming a pair of fields in NRF51 & Stellaris boards,
> remove the &first_cpu global uses in Cortex-M boards.
>
> Rational is &first_cpu is going to be restricted to generic
> accelerator code, then be removed. Similarly the global
> 'cpus_queue' containing target-agnostic CPUs is going to be
> restricted to generic accelerator, thus hw/ won't have direct
> access to it anymore.
>
> Note, Cortex-A boards already have been dealt with in
> https://lore.kernel.org/qemu-devel/20231212162935.42910-1-philmd@linaro.org/
> "hw/cpu/arm: Remove one use of qemu_get_cpu() in A7/A15 MPCore priv"
>
> Philippe Mathieu-Daudé (3):
> hw/arm/nrf51: Rename ARMv7MState 'cpu' -> 'armv7m'
> hw/arm/stellaris: Add 'armv7m' local variable
> hw/arm/v7m: Remove use of &first_cpu in machine_init()
Applied to target-arm.next, thanks.
-- PMM