OSDN Git Service

hw/arm/boot: register cpu reset handlers if using -bios
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 24 Oct 2014 11:19:11 +0000 (12:19 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Oct 2014 11:19:11 +0000 (12:19 +0100)
commitc6faa758e30c3563f22ffbee11bf206a3ee952c8
tree725d9844c92e92e157299bebdb891628cd688c68
parentb32a950910bc03f2c012794b3215fc2de8f90de3
hw/arm/boot: register cpu reset handlers if using -bios

Move the registering of CPU reset handlers to before the point where
we leave the function in the -bios (not -kernel) case, so CPU reset
works correctly with -bios as well.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/boot.c