From 87afe467e276f9a9cad2ad610d3d330da7fc7fd3 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 13 Sep 2014 09:45:26 -0700 Subject: target-sparc: Use cpu_exec_interrupt qom hook Cc: Blue Swirl Signed-off-by: Richard Henderson Message-id: 1410626734-3804-16-git-send-email-rth@twiddle.net Signed-off-by: Peter Maydell --- cpu-exec.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'cpu-exec.c') diff --git a/cpu-exec.c b/cpu-exec.c index 0d5ce62..075abf9 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -546,22 +546,6 @@ int cpu_exec(CPUArchState *env) next_tb = 0; } } -#elif defined(TARGET_SPARC) - if (interrupt_request & CPU_INTERRUPT_HARD) { - if (cpu_interrupts_enabled(env) && - env->interrupt_index > 0) { - int pil = env->interrupt_index & 0xf; - int type = env->interrupt_index & 0xf0; - - if (((type == TT_EXTINT) && - cpu_pil_allowed(env, pil)) || - type != TT_EXTINT) { - cpu->exception_index = env->interrupt_index; - cc->do_interrupt(cpu); - next_tb = 0; - } - } - } #endif /* The target hook has 3 exit conditions: False when the interrupt isn't processed, -- cgit v1.1