OSDN Git Service

2005-06-24 Dave Brolley <brolley@redhat.com>
authorbrolley <brolley>
Fri, 24 Jun 2005 18:42:19 +0000 (18:42 +0000)
committerbrolley <brolley>
Fri, 24 Jun 2005 18:42:19 +0000 (18:42 +0000)
        * configrun-sid.in: Add ms1 support.
        * Makefile.am: Likewise.

sid/bsp/ChangeLog
sid/bsp/Makefile.am
sid/bsp/configrun-sid.in

index 0543663..f36ccb8 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-24  Dave Brolley  <brolley@redhat.com>
+
+       * configrun-sid.in: Add ms1 support.
+       * Makefile.am: Likewise.
+
 2005-06-03  Jim Blandy  <jimb@redhat.com>
 
        * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5.
index 965668a..940394d 100644 (file)
@@ -20,6 +20,10 @@ if SIDTARGET_M68K
 FAM3SCRIPTS = m68k-elf-sid
 endif
 
+if SIDTARGET_MS1
+FAM8SCRIPTS = ms1-elf-sid
+endif
+
 if SIDTARGET_XSTORMY16
 FAM10SCRIPTS = xstormy16-elf-sid
 endif
index 55f6088..80890f0 100644 (file)
@@ -17,12 +17,14 @@ require 5.004;
                 "x86" => "hw-cpu-x86",
                 # INSERT NEW ENTRIES HERE
                 "m32r" => "hw-cpu-m32r/d",
+                "ms1" => "hw-cpu-ms1",
                 "xstormy16" => "hw-cpu-xstormy16",
                 );
 
 %cpu_defaultendian = (
                      "x86" => "-EL",
                      "m32r" => "-EB",
+                     "ms1" => "-EB",
                      "xstormy16" => "-EL",
                      );
 
@@ -32,6 +34,7 @@ require 5.004;
                   "x86" => "sw-gloss-generic/libgloss",
                   # INSERT NEW ENTRIES HERE
                   "m32r" => "sw-gloss-m32r/libgloss",
+                  "ms1" => "sw-gloss-generic/libgloss",
                   "xstormy16" => "sw-gloss-generic/libgloss",
                   );
 
@@ -41,6 +44,7 @@ require 5.004;
                   "x86" => "0x00000,0x500000",
                   # INSERT NEW ENTRIES HERE
                   "m32r" => "0x00000000,0x00800000",
+                  "ms1" => "0x00000000,0x00800000",
                   "xstormy16" => "0x00000000,0x00800000",
                  );
 
@@ -392,6 +396,12 @@ $first_section = "# first section\n" .
   &sidconf_new("sid-sched-sim", "target-sched") . "\n" .
   "";
 
+if ($opt_cpu eq "ms1")
+  {
+      $first_section .= "# add io bus probe\n" .
+      &sidconf_new("hw-glue-probe-bus", "io-bus-probe") . "\n";
+  }
+
 if ($opt_trace_core || $opt_trace_core_visual)
   {
     $first_section .= "# core tracing\n" .
@@ -478,6 +488,14 @@ if ($opt_cpu eq "x86")
       $second_section .= "set cpu memory-mode cygmon\n";
   }
 
+if ($opt_cpu eq "ms1")
+  {
+      # Uncomment the next three lines to enable io bus tracing.
+      #$second_section .= "# Connect bus tracer to io bus accessor\n" .
+      #"connect-bus cpu io-memory io-bus-probe upstream\n" .
+      #"set io-bus-probe trace? 1\n";
+  }
+
 if ($opt_gprof)
   {
     $second_section .= "# gprof connections
@@ -888,6 +906,11 @@ if ($opt_cpu eq "arm")
     $enable_z_packet = "true";
   }
 
+if ($opt_cpu eq "ms1")
+  {
+    $enable_z_packet = "true";
+  }
+
 if ($opt_cpu eq "xstormy16")
   {
     $enable_z_packet = "true";