arm: add secondary cpu boot callbacks to arm_boot.c
authorMark Langsdorf <mark.langsdorf@calxeda.com>
Thu, 26 Jan 2012 11:43:48 +0000 (11:43 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Jan 2012 11:43:48 +0000 (11:43 +0000)
commit9d5ba9bfbc1ad9b743b40fa4f40624437f46b287
tree4d1a751b1f304407248849e9daf5e444e5cc135f
parentd9fa31a3e20155152ae653cb6b6e6bd7db126e5c
arm: add secondary cpu boot callbacks to arm_boot.c

Create two functions, write_secondary_boot() and secondary_cpu_reset_hook(),
to allow platforms more control of how secondary CPUs are brought up. The
new functions default to NULL and aren't called unless they are populated
so there are no changes to existing platform models.

Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm-misc.h
hw/arm_boot.c