]> xenbits.xensource.com Git - osstest/qemu.git/commit
target-arm: Handle the CPU being in AArch32 mode in the AArch64 set_pc
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Apr 2014 18:18:49 +0000 (19:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Apr 2014 20:34:06 +0000 (21:34 +0100)
commit7633378d5fbe932c9d38ae8961ef035d1ed26bfd
treef8a8cbea6efa396e6ad53524b5813ade9aae8d8b
parentc29f9a0a29e76b36fd1bb6f5adf7841c6fdbc0b3
target-arm: Handle the CPU being in AArch32 mode in the AArch64 set_pc

The AArch64 implementation of the set_pc method needs to be updated to
handle the possibility that the CPU is in AArch32 mode; otherwise there
are weird crashes when doing interprocessing in system emulation mode
when an interrupt occurs and we fail to resynchronize the 32-bit PC
with the TB we need to execute next.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
target-arm/cpu64.c