/[gxemul]/trunk/src/cpus/cpu_ppc_instr.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/cpus/cpu_ppc_instr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 30 by dpavlin, Mon Oct 8 16:20:40 2007 UTC
# Line 25  Line 25 
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   *   *
# Line 2518  X(user_syscall) Line 2518  X(user_syscall)
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 = &nothing_call;                  cpu->cd.ppc.next_ic = &nothing_call;
2523          }          }
# Line 2532  X(openfirmware) Line 2531  X(openfirmware)
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 = &nothing_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)

Legend:
Removed from v.29  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26