diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-02-13 19:02:07 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-02-13 19:02:07 +0000 |
commit | 1a0c3292b58704843ab97e71c9836f653a31090b (patch) | |
tree | 2b07a7074e155d8920e78a48950fbbe263d152d5 /cpu-exec.c | |
parent | 824d560f0973d8e4c1ce4e614ed070e7c994bf02 (diff) | |
download | hqemu-1a0c3292b58704843ab97e71c9836f653a31090b.zip hqemu-1a0c3292b58704843ab97e71c9836f653a31090b.tar.gz |
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.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |