Skip to content
Commit a9047ec3 authored by Peter Maydell's avatar Peter Maydell
Browse files

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: default avatarChristopher Covington <cov@codeaurora.org>
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Tested-by: default avatarChristopher Covington <cov@codeaurora.org>
Cc: qemu-stable@nongnu.org
parent 924c09db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment