diff options
| author | Richard Henderson | 2014-09-13 18:45:21 +0200 |
|---|---|---|
| committer | Peter Maydell | 2014-09-25 19:54:21 +0200 |
| commit | 5a1f7f44cf7a55b696859d09af1b18c8e40c8339 (patch) | |
| tree | 8ebd1c3d82cc0f8fad950cd1b22a2502bd6c113c /cpu-exec.c | |
| parent | target-m68k: Use cpu_exec_interrupt qom hook (diff) | |
| download | qemu-5a1f7f44cf7a55b696859d09af1b18c8e40c8339.tar.gz qemu-5a1f7f44cf7a55b696859d09af1b18c8e40c8339.tar.xz qemu-5a1f7f44cf7a55b696859d09af1b18c8e40c8339.zip | |
target-cris: Use cpu_exec_interrupt qom hook
Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1410626734-3804-11-git-send-email-rth@twiddle.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'cpu-exec.c')
| -rw-r--r-- | cpu-exec.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index 8ff85ba6fd..7efcf2761f 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -629,27 +629,6 @@ int cpu_exec(CPUArchState *env) next_tb = 0; } } -#elif defined(TARGET_CRIS) - if (interrupt_request & CPU_INTERRUPT_HARD - && (env->pregs[PR_CCS] & I_FLAG) - && !env->locked_irq) { - cpu->exception_index = EXCP_IRQ; - cc->do_interrupt(cpu); - next_tb = 0; - } - if (interrupt_request & CPU_INTERRUPT_NMI) { - unsigned int m_flag_archval; - if (env->pregs[PR_VR] < 32) { - m_flag_archval = M_FLAG_V10; - } else { - m_flag_archval = M_FLAG_V32; - } - if ((env->pregs[PR_CCS] & m_flag_archval)) { - cpu->exception_index = EXCP_NMI; - cc->do_interrupt(cpu); - next_tb = 0; - } - } #endif /* The target hook has 3 exit conditions: False when the interrupt isn't processed, |
