diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-21 14:15:08 +0000 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:29:13 -0600 |
commit | 352e69a0ef34a64509de08098f396dc54f14cc1b (patch) | |
tree | 7f18bf5f5b11b3c852570cbe5aa1bab105c04af2 /target-arm/cpu-qom.h | |
parent | 6475f8f9dcea274c679b66ac69b7f757a114fdb4 (diff) | |
download | hqemu-352e69a0ef34a64509de08098f396dc54f14cc1b.zip hqemu-352e69a0ef34a64509de08098f396dc54f14cc1b.tar.gz |
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>
Diffstat (limited to 'target-arm/cpu-qom.h')
-rw-r--r-- | target-arm/cpu-qom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/cpu-qom.h b/target-arm/cpu-qom.h index ad5ee38..979e1ee 100644 --- a/target-arm/cpu-qom.h +++ b/target-arm/cpu-qom.h @@ -252,8 +252,8 @@ void arm_gt_stimer_cb(void *opaque); #ifdef TARGET_AARCH64 int aarch64_cpu_gdb_read_register(CPUState *cpu, uint8_t *buf, int reg); int aarch64_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg); +#endif void aarch64_cpu_do_interrupt(CPUState *cs); -#endif #endif |