25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: machine_cobalt.c,v 1.9 2007/01/21 21:02:57 debug Exp $ |
* $Id: machine_cobalt.c,v 1.12 2007/06/15 18:08:10 debug Exp $ |
29 |
|
* |
30 |
|
* COMMENT: Cobalt (MIPS-based) |
31 |
*/ |
*/ |
32 |
|
|
33 |
#include <stdio.h> |
#include <stdio.h> |
52 |
|
|
53 |
cpu->byte_order = EMUL_LITTLE_ENDIAN; |
cpu->byte_order = EMUL_LITTLE_ENDIAN; |
54 |
machine->machine_name = "Cobalt"; |
machine->machine_name = "Cobalt"; |
|
machine->stable = 1; |
|
55 |
|
|
56 |
/* |
/* |
57 |
* Interrupts seem to be the following: |
* Interrupts seem to be the following: |
100 |
machine->path, machine->bootstrap_cpu); |
machine->path, machine->bootstrap_cpu); |
101 |
pci_data = dev_gt_init(machine, mem, 0x14000000, tmpstr, |
pci_data = dev_gt_init(machine, mem, 0x14000000, tmpstr, |
102 |
tmpstr2, 11); |
tmpstr2, 11); |
103 |
bus_pci_add(machine, pci_data, mem, 0, 7, 0, "dec21143"); |
/* bus_pci_add(machine, pci_data, mem, 0, 7, 0, "dec21143"); */ |
104 |
/* bus_pci_add(machine, pci_data, mem, 0, 8, 0, "symbios_860"); |
/* bus_pci_add(machine, pci_data, mem, 0, 8, 0, "symbios_860"); |
105 |
PCI_VENDOR_SYMBIOS, PCI_PRODUCT_SYMBIOS_860 */ |
PCI_VENDOR_SYMBIOS, PCI_PRODUCT_SYMBIOS_860 */ |
106 |
bus_pci_add(machine, pci_data, mem, 0, 9, 0, "vt82c586_isa"); |
bus_pci_add(machine, pci_data, mem, 0, 9, 0, "vt82c586_isa"); |
107 |
bus_pci_add(machine, pci_data, mem, 0, 9, 1, "vt82c586_ide"); |
bus_pci_add(machine, pci_data, mem, 0, 9, 1, "vt82c586_ide"); |
108 |
bus_pci_add(machine, pci_data, mem, 0, 12, 0, "dec21143"); |
/* bus_pci_add(machine, pci_data, mem, 0, 12, 0, "dec21143"); */ |
109 |
|
|
110 |
if (!machine->prom_emulation) |
if (!machine->prom_emulation) |
111 |
return; |
return; |