target-arm: Move aarch64_cpu_do_interrupt() to helper.c
commitf3a9b6945cbbb23f3a70da14e9ffdf1e60c580a8
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Jan 2016 14:15:08 +0000 (21 14:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Jan 2016 14:15:08 +0000 (21 14:15 +0000)
tree35c77f285e527b5dcfede764c8f0a35d713dfd93
parent446c81abf8e0572b8d5d23fe056516ac62af278d
target-arm: Move aarch64_cpu_do_interrupt() to helper.c

Move the aarch64_cpu_do_interrupt() function to helper.c. We want
to be able to call this from code that isn't AArch64-only, and
the move allows us to avoid awkward #ifdeffery at the callsite.

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