fixed invalid irq jump chaining

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@300 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2003-06-30 23:18:22 +00:00
parent 0849bf0821
commit 907a5b2690
1 changed files with 7 additions and 0 deletions

View File

@ -194,6 +194,13 @@ int cpu_exec(CPUState *env1)
}
do_interrupt(intno, 0, 0, 0);
env->interrupt_request &= ~CPU_INTERRUPT_HARD;
/* ensure that no TB jump will be modified as
the program flow was changed */
#ifdef __sparc__
tmp_T0 = 0;
#else
T0 = 0;
#endif
}
#endif
if (interrupt_request & CPU_INTERRUPT_EXIT) {