/[gxemul]/trunk/src/machines/machine_netwinder.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/machines/machine_netwinder.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29 by dpavlin, Mon Oct 8 16:20:10 2007 UTC revision 30 by dpavlin, Mon Oct 8 16:20:40 2007 UTC
# Line 25  Line 25 
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>
# Line 44  Line 44 
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"
# Line 56  MACHINE_SETUP(netwinder) Line 57  MACHINE_SETUP(netwinder)
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");

Legend:
Removed from v.29  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26