target-arm: add async excp target_el function
commit0eeb17d618361a0f4faddc160e33598b23da6dd5
authorGreg Bellows <greg.bellows@linaro.org>
Thu, 11 Dec 2014 12:07:48 +0000 (11 12:07 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Dec 2014 12:07:48 +0000 (11 12:07 +0000)
tree813b91d3410f77c0fc9a2a679f47a560924f8670
parent57e3a0c7cb0ac2f0288890482e0a463adce2080a
target-arm: add async excp target_el function

Adds a dedicated function and a lookup table for determining the target
exception level of IRQ and FIQ exceptions.  The lookup table is taken from the
ARMv7 and ARMv8 specification exception routing tables.

Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1416242878-876-3-git-send-email-greg.bellows@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c