/[gxemul]/trunk/src/promemul/arcbios.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/promemul/arcbios.c

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

revision 29 by dpavlin, Mon Oct 8 16:20:26 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: arcbios.c,v 1.9 2006/06/30 20:22:54 debug Exp $   *  $Id: arcbios.c,v 1.10 2006/07/26 23:21:48 debug Exp $
29   *   *
30   *  ARCBIOS emulation.   *  ARCBIOS emulation.
31   */   */
# Line 1123  void arcbios_private_emul(struct cpu *cp Line 1123  void arcbios_private_emul(struct cpu *cp
1123                  debug("\n");                  debug("\n");
1124                  fatal("ARCBIOS: unimplemented PRIVATE vector 0x%x\n", vector);                  fatal("ARCBIOS: unimplemented PRIVATE vector 0x%x\n", vector);
1125                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
1126          }          }
1127  }  }
1128    
# Line 1190  int arcbios_emul(struct cpu *cpu) Line 1189  int arcbios_emul(struct cpu *cpu)
1189                  /*  Halt all CPUs.  */                  /*  Halt all CPUs.  */
1190                  for (i=0; i<machine->ncpus; i++) {                  for (i=0; i<machine->ncpus; i++) {
1191                          machine->cpus[i]->running = 0;                          machine->cpus[i]->running = 0;
                         machine->cpus[i]->dead = 1;  
1192                  }                  }
1193                  machine->exit_without_entering_debugger = 1;                  machine->exit_without_entering_debugger = 1;
1194                  break;                  break;
# Line 1854  int arcbios_emul(struct cpu *cpu) Line 1852  int arcbios_emul(struct cpu *cpu)
1852                  quiet_mode = 0;                  quiet_mode = 0;
1853                  cpu_register_dump(machine, cpu, 1, 0x1);                  cpu_register_dump(machine, cpu, 1, 0x1);
1854                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
1855                  break;                  break;
1856          default:          default:
1857                  quiet_mode = 0;                  quiet_mode = 0;
# Line 1864  int arcbios_emul(struct cpu *cpu) Line 1861  int arcbios_emul(struct cpu *cpu)
1861                  debug("\n");                  debug("\n");
1862                  fatal("ARCBIOS: unimplemented vector 0x%x\n", vector);                  fatal("ARCBIOS: unimplemented vector 0x%x\n", vector);
1863                  cpu->running = 0;                  cpu->running = 0;
                 cpu->dead = 1;  
1864          }          }
1865    
1866          return 1;          return 1;

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

  ViewVC Help
Powered by ViewVC 1.1.26