25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: machine_netwinder.c,v 1.3 2006/06/24 10:19:19 debug Exp $ |
* $Id: machine_netwinder.c,v 1.4 2006/07/23 23:50:31 debug Exp $ |
29 |
*/ |
*/ |
30 |
|
|
31 |
#include <stdio.h> |
#include <stdio.h> |
44 |
MACHINE_SETUP(netwinder) |
MACHINE_SETUP(netwinder) |
45 |
{ |
{ |
46 |
machine->machine_name = "NetWinder"; |
machine->machine_name = "NetWinder"; |
47 |
|
machine->stable = 1; |
48 |
|
|
49 |
if (machine->physical_ram_in_mb > 256) |
if (machine->physical_ram_in_mb > 256) |
50 |
fprintf(stderr, "WARNING! Real NetWinders cannot" |
fprintf(stderr, "WARNING! Real NetWinders cannot" |
57 |
|
|
58 |
bus_isa_init(machine, 0, 0x7c000000, 0x80000000, 32, 48); |
bus_isa_init(machine, 0, 0x7c000000, 0x80000000, 32, 48); |
59 |
|
|
|
#if 0 |
|
|
snprintf(tmpstr, sizeof(tmpstr), "8259 irq=64 addr=0x7c000020"); |
|
|
machine->isa_pic_data.pic1 = device_add(machine, tmpstr); |
|
|
snprintf(tmpstr, sizeof(tmpstr), "8259 irq=64 addr=0x7c0000a0"); |
|
|
machine->isa_pic_data.pic2 = device_add(machine, tmpstr); |
|
|
|
|
|
device_add(machine, "ns16550 irq=36 addr=0x7c0003f8 name2=com0"); |
|
|
device_add(machine, "ns16550 irq=35 addr=0x7c0002f8 name2=com1"); |
|
|
|
|
|
dev_vga_init(machine, machine->memory, 0x800a0000ULL, 0x7c0003c0, |
|
|
machine->machine_name); |
|
|
j = dev_pckbc_init(machine, machine->memory, 0x7c000060, PCKBC_8042, |
|
|
32 + 1, 32 + 12, machine->use_x11, 0); |
|
|
machine->main_console_handle = j; |
|
|
#endif |
|
|
|
|
60 |
if (machine->use_x11) { |
if (machine->use_x11) { |
61 |
bus_pci_add(machine, machine->md_int.footbridge_data->pcibus, |
bus_pci_add(machine, machine->md_int.footbridge_data->pcibus, |
62 |
machine->memory, 0xc0, 8, 0, "igsfb"); |
machine->memory, 0xc0, 8, 0, "igsfb"); |