target-arm: Extend helpers to route exceptions
commite3b1d480995f6e2e86ef062038e618c1234dbcf1
authorGreg Bellows <greg.bellows@linaro.org>
Fri, 29 May 2015 10:28:50 +0000 (29 11:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 May 2015 10:28:50 +0000 (29 11:28 +0100)
tree1b42cbc599038bda69b2f54ba44795ba8847da19
parent737103619869600668cc7e8700e4f6eab3943896
target-arm: Extend helpers to route exceptions

Updated the various helper routines to set the target EL as needed using a
dedicated function.

Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1429722561-12651-3-git-send-email-greg.bellows@linaro.org
[PMM: Also set target_el in fault cases in access_check_cp_reg()]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/op_helper.c