/[gxemul]/trunk/src/machines/machine_zaurus.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_zaurus.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_zaurus.c,v 1.4 2006/06/24 10:19:19 debug Exp $   *  $Id: machine_zaurus.c,v 1.5 2006/07/24 21:14:52 debug Exp $
29   */   */
30    
31  #include <stdio.h>  #include <stdio.h>
# Line 52  MACHINE_SETUP(zaurus) Line 52  MACHINE_SETUP(zaurus)
52          device_add(machine, "ns16550 irq=0 addr=0x40100000 addr_mult=4");          device_add(machine, "ns16550 irq=0 addr=0x40100000 addr_mult=4");
53          device_add(machine, "ns16550 irq=0 addr=0xfd400000 addr_mult=4");          device_add(machine, "ns16550 irq=0 addr=0xfd400000 addr_mult=4");
54    
55    
56    dev_fb_init(machine, machine->memory, 0x44000000,
57        VFB_GENERIC, 640,240, 640,240, 16, "PXA2X0 LCD");
58            
59            
60          if (!machine->prom_emulation)          if (!machine->prom_emulation)
61                  return;                  return;
62    
63          /*  TODO  */          /*  TODO: Registers, etc.  */
64    
65          arm_setup_initial_translation_table(cpu, 0x4000);          arm_setup_initial_translation_table(cpu, 0x4000);
66  }  }
67    
68    
69  MACHINE_DEFAULT_CPU(zaurus)  MACHINE_DEFAULT_CPU(zaurus)
70  {  {
71          machine->cpu_name = strdup("PXA210");          machine->cpu_name = strdup("PXA27X");
72  }  }
73    
74    

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

  ViewVC Help
Powered by ViewVC 1.1.26