summaryrefslogtreecommitdiffstats
path: root/disas
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-08-04 14:41:53 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-08-04 14:41:53 +0100
commita9047ec3f6ab56295cba5b07e0d46cded9e2a7ff (patch)
tree5effcd535a442c36d096fe07f78b167467d22e65 /disas
parent924c09db51b147881d51d8102deb4f285305c1b7 (diff)
downloadhqemu-a9047ec3f6ab56295cba5b07e0d46cded9e2a7ff.zip
hqemu-a9047ec3f6ab56295cba5b07e0d46cded9e2a7ff.tar.gz
hw/arm/boot: Set PC correctly when loading AArch64 ELF files
The code in do_cpu_reset() correctly handled AArch64 CPUs when running Linux kernels, but was missing code in the branch of the if() that deals with loading ELF files. Correctly jump to the ELF entry point on reset rather than leaving the reset PC at zero. Reported-by: Christopher Covington <cov@codeaurora.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Christopher Covington <cov@codeaurora.org> Cc: qemu-stable@nongnu.org
Diffstat (limited to 'disas')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud