Commit 1a0c3292b58704843ab97e71c9836f653a31090b
1 parent
824d560f
sparc fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1290 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
3 deletions
cpu-exec.c
| ... | ... | @@ -204,8 +204,7 @@ int cpu_exec(CPUState *env1) |
| 204 | 204 | #elif defined(TARGET_PPC) |
| 205 | 205 | do_interrupt(env); |
| 206 | 206 | #elif defined(TARGET_SPARC) |
| 207 | - do_interrupt(env->exception_index, | |
| 208 | - env->error_code); | |
| 207 | + do_interrupt(env->exception_index); | |
| 209 | 208 | #endif |
| 210 | 209 | } |
| 211 | 210 | env->exception_index = -1; |
| ... | ... | @@ -287,7 +286,7 @@ int cpu_exec(CPUState *env1) |
| 287 | 286 | } |
| 288 | 287 | #elif defined(TARGET_SPARC) |
| 289 | 288 | if (interrupt_request & CPU_INTERRUPT_HARD) { |
| 290 | - do_interrupt(env->interrupt_index, 0); | |
| 289 | + do_interrupt(env->interrupt_index); | |
| 291 | 290 | env->interrupt_request &= ~CPU_INTERRUPT_HARD; |
| 292 | 291 | } else if (interrupt_request & CPU_INTERRUPT_TIMER) { |
| 293 | 292 | //do_interrupt(0, 0, 0, 0, 0); | ... | ... |