aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorClément Chigot <chigot@adacore.com>2025-05-26 10:55:20 +0200
committerPeter Maydell <peter.maydell@linaro.org>2025-06-13 11:31:28 +0100
commit5dc8e4e892ba10e040d12afece0d36b8b6a269d6 (patch)
tree378b6004ecfc46a3b8c81a37e58357349582c7a0 /hw/avr/arduino.c
parent73cdd846adb80060fbdb2f2557aeafb41cb39064 (diff)
downloadqemu-5dc8e4e892ba10e040d12afece0d36b8b6a269d6.zip
qemu-5dc8e4e892ba10e040d12afece0d36b8b6a269d6.tar.gz
qemu-5dc8e4e892ba10e040d12afece0d36b8b6a269d6.tar.bz2
hw/arm: make cpu targeted by arm_load_kernel the primary CPU.
Currently, arm booting processus assumes that the first_cpu is the CPU that will boot: `arm_load_kernel` is powering off all but the `first_cpu`; `do_cpu_reset` is setting the loader address only for this `first_cpu`. For most of the boards, this isn't an issue as the kernel is loaded and booted on the first CPU anyway. However, for zynqmp, the option "boot-cpu" allows to choose any CPUs. Create a new arm_boot_info entry `primary_cpu` recording which CPU will be boot first. This one is set when `arm_boot_kernel` is called. Signed-off-by: Clément Chigot <chigot@adacore.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20250526085523.809003-2-chigot@adacore.com Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions