Revision f2bc7e7f cpu-exec.c
b/cpu-exec.c | ||
---|---|---|
333 | 333 |
#elif defined(TARGET_MIPS) |
334 | 334 |
do_interrupt(env); |
335 | 335 |
#elif defined(TARGET_SPARC) |
336 |
do_interrupt(env->exception_index);
|
|
336 |
do_interrupt(env); |
|
337 | 337 |
#elif defined(TARGET_ARM) |
338 | 338 |
do_interrupt(env); |
339 | 339 |
#elif defined(TARGET_SH4) |
... | ... | |
474 | 474 |
(pil == 15 || pil > env->psrpil)) || |
475 | 475 |
type != TT_EXTINT) { |
476 | 476 |
env->interrupt_request &= ~CPU_INTERRUPT_HARD; |
477 |
do_interrupt(env->interrupt_index); |
|
477 |
env->exception_index = env->interrupt_index; |
|
478 |
do_interrupt(env); |
|
478 | 479 |
env->interrupt_index = 0; |
479 | 480 |
#if !defined(TARGET_SPARC64) && !defined(CONFIG_USER_ONLY) |
480 | 481 |
cpu_check_irqs(env); |
Also available in: Unified diff