]> git.proxmox.com Git - mirror_qemu.git/commit
target-arm: Handle exception return from AArch64 to non-EL0 AArch32
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Jan 2016 14:15:09 +0000 (14:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Jan 2016 14:15:09 +0000 (14:15 +0000)
commit3809951bf61605974b91578c582de4da28f8ed07
treee0da6f83fc5ca05243192be6f33c473882e565c6
parent3d6f761713745dfed7d2ccfe98077d213a6a6eba
target-arm: Handle exception return from AArch64 to non-EL0 AArch32

Remove the assumptions that the AArch64 exception return code was
making about a return to AArch32 always being a return to EL0.
This includes pulling out the illegal-SPSR checks so we can apply
them for return to 32 bit as well as return to 64-bit.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target-arm/op_helper.c