hw/vexpress.c: Move secondary CPU boot code to SRAM
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Feb 2012 09:56:08 +0000 (09:56 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Feb 2012 11:13:21 +0000 (11:13 +0000)
commitaac1e02c1d4b6d02f35a199a454fd46416380ff5
tree3f6ed80ff0816cbc6a690aecf0b43bf80334cdb1
parent2558e0a67b5573cfd29c9346350ac5d5dc6f866f
hw/vexpress.c: Move secondary CPU boot code to SRAM

On real Versatile Express hardware, the boot ROM puts the secondary
CPU bootcode/holding pen in SRAM. We can therefore rely on Linux not
trashing this memory until secondary CPUs have booted up, and can
put our QEMU-specific pen code in the same place. This allows us to
drop the odd "hack" RAM page we were using before.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/vexpress.c