25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: emul.c,v 1.258 2006/07/20 21:52:59 debug Exp $ |
* $Id: emul.c,v 1.260 2006/07/26 23:21:47 debug Exp $ |
29 |
* |
* |
30 |
* Emulation startup and misc. routines. |
* Emulation startup and misc. routines. |
31 |
*/ |
*/ |
1271 |
break; |
break; |
1272 |
|
|
1273 |
case ARCH_SH: |
case ARCH_SH: |
1274 |
if (cpu->cd.sh.bits == 32) |
if (cpu->cd.sh.cpu_type.bits == 32) |
1275 |
cpu->pc &= 0xffffffffULL; |
cpu->pc &= 0xffffffffULL; |
1276 |
cpu->pc &= ~1; |
cpu->pc &= ~1; |
1277 |
break; |
break; |
1336 |
useremul_setup(cpu, n_load, load_names); |
useremul_setup(cpu, n_load, load_names); |
1337 |
|
|
1338 |
/* Startup the bootstrap CPU: */ |
/* Startup the bootstrap CPU: */ |
1339 |
cpu->bootstrap_cpu_flag = 1; |
cpu->running = 1; |
|
cpu->running = 1; |
|
1340 |
|
|
1341 |
/* ... or pause all CPUs, if start_paused is set: */ |
/* ... or pause all CPUs, if start_paused is set: */ |
1342 |
if (m->start_paused) { |
if (m->start_paused) { |