diff options
author | Max Filippov | 2019-01-28 02:10:27 +0100 |
---|---|---|
committer | Max Filippov | 2019-01-28 20:55:20 +0100 |
commit | 17a86b0e9f64c00f3e438d903d3fa475255630cf (patch) | |
tree | 9a06816bad33baea195d3f55833bb29e2a6e3598 /target/xtensa | |
parent | target/xtensa: rearrange access to external interrupts (diff) | |
download | qemu-17a86b0e9f64c00f3e438d903d3fa475255630cf.tar.gz qemu-17a86b0e9f64c00f3e438d903d3fa475255630cf.tar.xz qemu-17a86b0e9f64c00f3e438d903d3fa475255630cf.zip |
target/xtensa: expose core runstall as an IRQ line
Runstall signal looks very much like a level-triggered IRQ line. Provide
xtensa_get_runstall function that returns runstall IRQ.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa')
-rw-r--r-- | target/xtensa/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h index 176af8a53c..b665bfc006 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -485,6 +485,7 @@ typedef struct CPUXtensaState { int pending_irq_level; /* level of last raised IRQ */ qemu_irq *irq_inputs; qemu_irq ext_irq_inputs[MAX_NINTERRUPT]; + qemu_irq runstall_irq; XtensaCcompareTimer ccompare[MAX_NCCOMPARE]; uint64_t time_base; uint64_t ccount_time; @@ -571,6 +572,7 @@ void xtensa_sim_open_console(Chardev *chr); void check_interrupts(CPUXtensaState *s); void xtensa_irq_init(CPUXtensaState *env); qemu_irq *xtensa_get_extints(CPUXtensaState *env); +qemu_irq xtensa_get_runstall(CPUXtensaState *env); int cpu_xtensa_signal_handler(int host_signum, void *pinfo, void *puc); void xtensa_cpu_list(FILE *f, fprintf_function cpu_fprintf); void xtensa_sync_window_from_phys(CPUXtensaState *env); |