aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-08-04 10:50:30 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-08-04 10:50:30 +0000
commit327ac2e797ed57d7231d44c77a7473d62efe0989 (patch)
tree1809a94735d69b1ed2aa5fa39ddfdd76b0921df5 /cpu-exec.c
parentccf1d14a1e37abe1f0da162c00a8941963b47a4c (diff)
Fix Sparc32 interrupt handling
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3110 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 4f7f215c01..543ec09ef7 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -461,6 +461,9 @@ int cpu_exec(CPUState *env1)
env->interrupt_request &= ~CPU_INTERRUPT_HARD;
do_interrupt(env->interrupt_index);
env->interrupt_index = 0;
+#if !defined(TARGET_SPARC64) && !defined(CONFIG_USER_ONLY)
+ cpu_check_irqs(env);
+#endif
#if defined(__sparc__) && !defined(HOST_SOLARIS)
tmp_T0 = 0;
#else