From 29cd33d3c71afca157fed001d0cb3b5fe28bf632 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 13 Sep 2014 09:45:30 -0700 Subject: target-microblaze: Use cpu_exec_interrupt qom hook Cc: Edgar E. Iglesias Signed-off-by: Richard Henderson Message-id: 1410626734-3804-20-git-send-email-rth@twiddle.net Signed-off-by: Peter Maydell --- cpu-exec.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cpu-exec.c') diff --git a/cpu-exec.c b/cpu-exec.c index 60f727019f..5c93a5f7a6 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -505,15 +505,6 @@ int cpu_exec(CPUArchState *env) cc->do_interrupt(cpu); next_tb = 0; } -#elif defined(TARGET_MICROBLAZE) - if ((interrupt_request & CPU_INTERRUPT_HARD) - && (env->sregs[SR_MSR] & MSR_IE) - && !(env->sregs[SR_MSR] & (MSR_EIP | MSR_BIP)) - && !(env->iflags & (D_FLAG | IMM_FLAG))) { - cpu->exception_index = EXCP_IRQ; - cc->do_interrupt(cpu); - next_tb = 0; - } #endif /* The target hook has 3 exit conditions: False when the interrupt isn't processed, -- cgit v1.2.1