diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-18 19:12:54 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-18 19:12:54 +0000 |
commit | 9c2a9ea1b1fe221566ca6c3f873da1454cadd263 (patch) | |
tree | b0384568db3ada60f572ef5750a8d316d0f266d1 /linux-user | |
parent | 397e923f7f78e99bc547b0a730c225d78dfe878b (diff) | |
download | qemu-9c2a9ea1b1fe221566ca6c3f873da1454cadd263.tar.gz qemu-9c2a9ea1b1fe221566ca6c3f873da1454cadd263.tar.bz2 qemu-9c2a9ea1b1fe221566ca6c3f873da1454cadd263.zip |
SH bugfixes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1991 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 74642cc361..a73919ec3c 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -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: |