summaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-13 19:02:07 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-13 19:02:07 +0000
commit1a0c3292b58704843ab97e71c9836f653a31090b (patch)
tree2b07a7074e155d8920e78a48950fbbe263d152d5 /cpu-exec.c
parent824d560f0973d8e4c1ce4e614ed070e7c994bf02 (diff)
sparc fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1290 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 4adfb81aa..1edfa19a0 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -204,8 +204,7 @@ int cpu_exec(CPUState *env1)
#elif defined(TARGET_PPC)
do_interrupt(env);
#elif defined(TARGET_SPARC)
- do_interrupt(env->exception_index,
- env->error_code);
+ do_interrupt(env->exception_index);
#endif
}
env->exception_index = -1;
@@ -287,7 +286,7 @@ int cpu_exec(CPUState *env1)
}
#elif defined(TARGET_SPARC)
if (interrupt_request & CPU_INTERRUPT_HARD) {
- do_interrupt(env->interrupt_index, 0);
+ do_interrupt(env->interrupt_index);
env->interrupt_request &= ~CPU_INTERRUPT_HARD;
} else if (interrupt_request & CPU_INTERRUPT_TIMER) {
//do_interrupt(0, 0, 0, 0, 0);