]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/cpu.c
target-arm: Update interrupt handling to use target EL
authorGreg Bellows <greg.bellows@linaro.org>
Fri, 29 May 2015 10:28:51 +0000 (11:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 May 2015 10:28:51 +0000 (11:28 +0100)
commit012a906b19e99b126403ff4a257617dab9b34163
tree5f1e0e8c46dcf6ee493ecb2d08d6b4e738a469cd
parentc63285991b371c031147ad620dd7671662a90303
target-arm: Update interrupt handling to use target EL

Updated the interrupt handling to utilize and report through the target EL
exception field.  This includes consolidating and cleaning up code where
needed. Target EL is now calculated once in arm_cpu_exec_interrupt() and
do_interrupt was updated to use the target_el exception field.  The
necessary code from arm_excp_target_el() was merged in where needed and the
function removed.

Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1429722561-12651-4-git-send-email-greg.bellows@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.c
target-arm/cpu.h
target-arm/helper-a64.c
target-arm/helper.c