25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: arcbios.c,v 1.8 2006/04/15 08:21:07 debug Exp $ |
* $Id: arcbios.c,v 1.9 2006/06/30 20:22:54 debug Exp $ |
29 |
* |
* |
30 |
* ARCBIOS emulation. |
* ARCBIOS emulation. |
31 |
*/ |
*/ |
2267 |
if (machine->machine_type == MACHINE_SGI) { |
if (machine->machine_type == MACHINE_SGI) { |
2268 |
if (machine->machine_subtype == 30) |
if (machine->machine_subtype == 30) |
2269 |
strlcat(init_bootpath, "xio(0)pci(15)", |
strlcat(init_bootpath, "xio(0)pci(15)", |
2270 |
MACHINE_NAME_MAXBUF); |
bootpath_len); |
2271 |
if (machine->machine_subtype == 32) |
if (machine->machine_subtype == 32) |
2272 |
strlcat(init_bootpath, "pci(0)", |
strlcat(init_bootpath, "pci(0)", |
2273 |
MACHINE_NAME_MAXBUF); |
bootpath_len); |
2274 |
} |
} |
2275 |
|
|
2276 |
if (diskimage_is_a_cdrom(machine, machine->bootdev_id, |
if (diskimage_is_a_cdrom(machine, machine->bootdev_id, |
2286 |
} |
} |
2287 |
|
|
2288 |
if (machine->machine_type == MACHINE_ARC) |
if (machine->machine_type == MACHINE_ARC) |
2289 |
strlcat(init_bootpath, "\\", MACHINE_NAME_MAXBUF); |
strlcat(init_bootpath, "\\", bootpath_len); |
2290 |
|
|
2291 |
machine->bootstr = malloc(ARC_BOOTSTR_BUFLEN); |
machine->bootstr = malloc(ARC_BOOTSTR_BUFLEN); |
2292 |
if (machine->bootstr == NULL) { |
if (machine->bootstr == NULL) { |