25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: emul.c,v 1.234 2005/09/17 21:55:19 debug Exp $ |
* $Id: emul.c,v 1.235 2005/10/26 14:37:02 debug Exp $ |
29 |
* |
* |
30 |
* Emulation startup and misc. routines. |
* Emulation startup and misc. routines. |
31 |
*/ |
*/ |
650 |
|
|
651 |
/* |
/* |
652 |
* Try reading a kernel manually from the disk. The code here |
* Try reading a kernel manually from the disk. The code here |
653 |
* does not rely on machine-dependant boot blocks etc. |
* does not rely on machine-dependent boot blocks etc. |
654 |
*/ |
*/ |
655 |
/* ISO9660: (0x800 bytes at 0x8000) */ |
/* ISO9660: (0x800 bytes at 0x8000) */ |
656 |
bootblock_buf = malloc(0x800); |
bootblock_buf = malloc(0x800); |
1210 |
switch (m->arch) { |
switch (m->arch) { |
1211 |
|
|
1212 |
case ARCH_ALPHA: |
case ARCH_ALPHA: |
1213 |
/* For position-independant code: */ |
/* For position-independent code: */ |
1214 |
cpu->cd.alpha.r[ALPHA_T12] = cpu->pc; |
cpu->cd.alpha.r[ALPHA_T12] = cpu->pc; |
1215 |
break; |
break; |
1216 |
|
|