mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-29 05:13:54 -06:00
qemu sh4 nptl support
(Michael Trimarchi) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5223 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7478757e1f
commit
0b6d3ae072
4 changed files with 12 additions and 1 deletions
|
@ -1887,6 +1887,7 @@ void cpu_loop (CPUState *env)
|
|||
|
||||
switch (trapnr) {
|
||||
case 0x160:
|
||||
env->pc += 2;
|
||||
ret = do_syscall(env,
|
||||
env->gregs[3],
|
||||
env->gregs[4],
|
||||
|
@ -1896,7 +1897,6 @@ void cpu_loop (CPUState *env)
|
|||
env->gregs[0],
|
||||
env->gregs[1]);
|
||||
env->gregs[0] = ret;
|
||||
env->pc += 2;
|
||||
break;
|
||||
case EXCP_INTERRUPT:
|
||||
/* just indicate that signals should be handled asap */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue