From ab409bb3fea7e46bbce557ebda14e8eb420f5377 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 13 Sep 2014 09:45:20 -0700 Subject: target-m68k: Use cpu_exec_interrupt qom hook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since do_interrupt_m68k_hardirq is no longer used outside op_helper.c, make it static. Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée Message-id: 1410626734-3804-10-git-send-email-rth@twiddle.net Signed-off-by: Peter Maydell --- cpu-exec.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'cpu-exec.c') diff --git a/cpu-exec.c b/cpu-exec.c index 08be521..8ff85ba 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -650,19 +650,6 @@ int cpu_exec(CPUArchState *env) next_tb = 0; } } -#elif defined(TARGET_M68K) - if (interrupt_request & CPU_INTERRUPT_HARD - && ((env->sr & SR_I) >> SR_I_SHIFT) - < env->pending_level) { - /* Real hardware gets the interrupt vector via an - IACK cycle at this point. Current emulated - hardware doesn't rely on this, so we - provide/save the vector when the interrupt is - first signalled. */ - cpu->exception_index = env->pending_vector; - do_interrupt_m68k_hardirq(env); - next_tb = 0; - } #endif /* The target hook has 3 exit conditions: False when the interrupt isn't processed, -- cgit v1.1