/[gxemul]/trunk/src/machines/machine_ts7200.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_ts7200.c

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

revision 22 by dpavlin, Mon Oct 8 16:19:37 2007 UTC revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: machine_ts7200.c,v 1.1 2006/02/17 20:27:21 debug Exp $   *  $Id: machine_ts7200.c,v 1.2 2006/03/05 17:58:16 debug Exp $
29   */   */
30    
31  #include <stdio.h>  #include <stdio.h>
# Line 43  MACHINE_SETUP(ts7200) Line 43  MACHINE_SETUP(ts7200)
43  {  {
44          machine->machine_name = "TS7200";          machine->machine_name = "TS7200";
45    
         /*  TODO: _NOT_ an ns16550  */  
         device_add(machine, "ns16550 irq=0 addr=0x808c0000 addr_mult=4");  
   
46          dev_ram_init(machine, 0xc0000000, 0x20000000, DEV_RAM_MIRROR, 0x0);          dev_ram_init(machine, 0xc0000000, 0x20000000, DEV_RAM_MIRROR, 0x0);
47    
48            machine->main_console_handle = (size_t)device_add(machine,
49                "epcom addr=0x808c0000 name2='serial console'");
50    
51    
52          if (!machine->prom_emulation)          if (!machine->prom_emulation)
53                  return;                  return;
54    
# Line 60  MACHINE_SETUP(ts7200) Line 61  MACHINE_SETUP(ts7200)
61    
62  MACHINE_DEFAULT_CPU(ts7200)  MACHINE_DEFAULT_CPU(ts7200)
63  {  {
64          machine->cpu_name = strdup("80321_600_B0");          machine->cpu_name = strdup("ARM920T");
65  }  }
66    
67    

Legend:
Removed from v.22  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26