mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 22:11:53 -06:00
SH bugfixes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1991 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
397e923f7f
commit
9c2a9ea1b1
7 changed files with 44 additions and 37 deletions
|
@ -1370,14 +1370,14 @@ void cpu_loop (CPUState *env)
|
|||
switch (trapnr) {
|
||||
case 0x160:
|
||||
ret = do_syscall(env,
|
||||
env->gregs[0x13],
|
||||
env->gregs[0x14],
|
||||
env->gregs[0x15],
|
||||
env->gregs[0x16],
|
||||
env->gregs[0x17],
|
||||
env->gregs[0x10],
|
||||
env->gregs[3],
|
||||
env->gregs[4],
|
||||
env->gregs[5],
|
||||
env->gregs[6],
|
||||
env->gregs[7],
|
||||
env->gregs[0],
|
||||
0);
|
||||
env->gregs[0x10] = ret;
|
||||
env->gregs[0] = ret;
|
||||
env->pc += 2;
|
||||
break;
|
||||
case EXCP_DEBUG:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue