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 |
*/ |
*/ |
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 |
|
|
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; |
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; |
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; |