mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
hw/arm_boot.c: Make SMP boards specify address to poll in bootup loop
The secondary CPU bootloader in arm_boot.c holds secondary CPUs in a pen until the primary CPU releases them. Make boards specify the address to be polled to determine whether to leave the pen (it was previously hardcoded to 0x10000030, which is a Versatile Express/ Realview specific system register address). Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
This commit is contained in:
parent
ea0e68411e
commit
078758d074
4 changed files with 15 additions and 8 deletions
|
@ -31,6 +31,7 @@ struct arm_boot_info {
|
|||
const char *initrd_filename;
|
||||
target_phys_addr_t loader_start;
|
||||
target_phys_addr_t smp_loader_start;
|
||||
target_phys_addr_t smp_bootreg_addr;
|
||||
target_phys_addr_t smp_priv_base;
|
||||
int nb_cpus;
|
||||
int board_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue