25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: cpu_ppc_instr.c,v 1.70 2006/04/14 19:58:21 debug Exp $ |
* $Id: cpu_ppc_instr.c,v 1.71 2006/07/26 23:21:48 debug Exp $ |
29 |
* |
* |
30 |
* POWER/PowerPC instructions. |
* POWER/PowerPC instructions. |
31 |
* |
* |
2518 |
useremul_syscall(cpu, ic->arg[0]); |
useremul_syscall(cpu, ic->arg[0]); |
2519 |
|
|
2520 |
if (!cpu->running) { |
if (!cpu->running) { |
|
cpu->running_translated = 0; |
|
2521 |
cpu->n_translated_instrs --; |
cpu->n_translated_instrs --; |
2522 |
cpu->cd.ppc.next_ic = ¬hing_call; |
cpu->cd.ppc.next_ic = ¬hing_call; |
2523 |
} |
} |
2531 |
{ |
{ |
2532 |
of_emul(cpu); |
of_emul(cpu); |
2533 |
if (cpu->running == 0) { |
if (cpu->running == 0) { |
2534 |
cpu->running_translated = 0; |
cpu->n_translated_instrs --; |
2535 |
|
cpu->cd.ppc.next_ic = ¬hing_call; |
2536 |
} |
} |
2537 |
cpu->pc = cpu->cd.ppc.spr[SPR_LR]; |
cpu->pc = cpu->cd.ppc.spr[SPR_LR]; |
2538 |
if (cpu->machine->show_trace_tree) |
if (cpu->machine->show_trace_tree) |