aboutsummaryrefslogtreecommitdiff
path: root/hw/arm-misc.h
diff options
context:
space:
mode:
authorEvgeny Voevodin <e.voevodin@samsung.com>2012-01-13 20:52:40 +0000
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>2012-01-17 02:08:22 +0100
commit078758d0741c30d44246383ce5c2ba43281e9aec (patch)
tree45cecd4aabc82c94abf341e12f32665a77be57c2 /hw/arm-misc.h
parentea0e68411e3276060999e2e7db569e3009fc3b81 (diff)
downloadqemu-078758d0741c30d44246383ce5c2ba43281e9aec.zip
qemu-078758d0741c30d44246383ce5c2ba43281e9aec.tar.gz
qemu-078758d0741c30d44246383ce5c2ba43281e9aec.tar.bz2
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>
Diffstat (limited to 'hw/arm-misc.h')
-rw-r--r--hw/arm-misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm-misc.h b/hw/arm-misc.h
index af403a1..6e8ae6b 100644
--- a/hw/arm-misc.h
+++ b/hw/arm-misc.h
@@ -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;