target/arm: Factor out code for taking an AArch32 exception
commitdea8378bb3e86f2c6bd05afb3927619f7c51bb47
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:37 +0000 (24 13:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:37 +0000 (24 13:17 +0100)
treed05ca9859df6dcff1c161793ca8b65deb249d286
parentce4afed8396aabaf87cd42fbe8a4c14f7a9d5c10
target/arm: Factor out code for taking an AArch32 exception

Factor out the code which changes the CPU state so as to
actually take an exception to AArch32. We're going to want
to use this for handling exception entry to Hyp mode.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Message-id: 20180820153020.21478-4-peter.maydell@linaro.org
target/arm/helper.c