diff options
author | Richard Henderson <rth@twiddle.net> | 2014-09-13 09:45:30 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-09-25 18:54:22 +0100 |
commit | 29cd33d3c71afca157fed001d0cb3b5fe28bf632 (patch) | |
tree | c9325742f7a1ff0be57d5b1099de54940efe4909 /cpu-exec.c | |
parent | fa4faba448046574c8c820098ed46c9a0b5589a6 (diff) | |
download | qemu-29cd33d3c71afca157fed001d0cb3b5fe28bf632.tar.gz qemu-29cd33d3c71afca157fed001d0cb3b5fe28bf632.tar.bz2 qemu-29cd33d3c71afca157fed001d0cb3b5fe28bf632.zip |
target-microblaze: Use cpu_exec_interrupt qom hook
Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-id: 1410626734-3804-20-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 | 9 |
1 files changed, 0 insertions, 9 deletions
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, |