mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -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,11 +31,13 @@
|
|||
#include "exec-memory.h"
|
||||
|
||||
#define SMP_BOOT_ADDR 0xe0000000
|
||||
#define SMP_BOOTREG_ADDR 0x10000030
|
||||
|
||||
#define VEXPRESS_BOARD_ID 0x8e0
|
||||
|
||||
static struct arm_boot_info vexpress_binfo = {
|
||||
.smp_loader_start = SMP_BOOT_ADDR,
|
||||
.smp_bootreg_addr = SMP_BOOTREG_ADDR,
|
||||
};
|
||||
|
||||
static void vexpress_a9_init(ram_addr_t ram_size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue