summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-26 23:02:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-26 23:02:15 +0000
commit26d47f8e73a8c046c10fc7991113f4a84a62e3c3 (patch)
treefbea58489ca05175c9b5e089c74dc46fa103afe3 /c/src/lib/libbsp/sh
parent2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-26d47f8e73a8c046c10fc7991113f4a84a62e3c3.tar.bz2
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Eliminate the clicks_per_microsecond field in the SuperH CPU Table and define another mechanism for drivers to obtain this information.
Diffstat (limited to 'c/src/lib/libbsp/sh')
-rw-r--r--c/src/lib/libbsp/sh/gensh1/ChangeLog6
-rw-r--r--c/src/lib/libbsp/sh/gensh1/startup/bspstart.c4
-rw-r--r--c/src/lib/libbsp/sh/gensh2/ChangeLog6
-rw-r--r--c/src/lib/libbsp/sh/gensh2/startup/bspstart.c4
-rw-r--r--c/src/lib/libbsp/sh/gensh4/ChangeLog6
-rw-r--r--c/src/lib/libbsp/sh/gensh4/startup/bspstart.c4
-rw-r--r--c/src/lib/libbsp/sh/shsim/ChangeLog6
-rw-r--r--c/src/lib/libbsp/sh/shsim/startup/bspstart.c4
8 files changed, 36 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/sh/gensh1/ChangeLog b/c/src/lib/libbsp/sh/gensh1/ChangeLog
index becd6a71cc..e5041d54e0 100644
--- a/c/src/lib/libbsp/sh/gensh1/ChangeLog
+++ b/c/src/lib/libbsp/sh/gensh1/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * startup/bspstart.c: Eliminate the clicks_per_microsecond field in the
+ SuperH CPU Table and define another mechanism for drivers to obtain
+ this information.
+
2007-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Separate debug IO from console so console driver is not
diff --git a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c
index 4f9ca51fc2..4e9eb45d80 100644
--- a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c
+++ b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c
@@ -30,6 +30,8 @@
#include <rtems/libio.h>
#include <rtems/libcsupport.h>
+uint32_t bsp_clicks_per_second;
+
/*
* The original table from the application and our copy of it with
* some changes.
@@ -126,5 +128,5 @@ void bsp_start(void)
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
#endif
- Cpu_table.clicks_per_second = CPU_CLOCK_RATE_HZ ;
+ bsp_clicks_per_second = CPU_CLOCK_RATE_HZ;
}
diff --git a/c/src/lib/libbsp/sh/gensh2/ChangeLog b/c/src/lib/libbsp/sh/gensh2/ChangeLog
index 6441f28001..9c340f35da 100644
--- a/c/src/lib/libbsp/sh/gensh2/ChangeLog
+++ b/c/src/lib/libbsp/sh/gensh2/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * startup/bspstart.c: Eliminate the clicks_per_microsecond field in the
+ SuperH CPU Table and define another mechanism for drivers to obtain
+ this information.
+
2007-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Separate debug IO from console so console driver is not
diff --git a/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
index 179b01c643..6ab28d2317 100644
--- a/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
+++ b/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
@@ -30,6 +30,8 @@
#include <rtems/libio.h>
#include <rtems/libcsupport.h>
+uint32_t bsp_clicks_per_second;
+
/*
* The original table from the application and our copy of it with
* some changes.
@@ -133,5 +135,5 @@ void bsp_start(void)
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
#endif
- Cpu_table.clicks_per_second = CPU_CLOCK_RATE_HZ ;
+ bsp_clicks_per_second = CPU_CLOCK_RATE_HZ;
}
diff --git a/c/src/lib/libbsp/sh/gensh4/ChangeLog b/c/src/lib/libbsp/sh/gensh4/ChangeLog
index 08d84de3a8..cf272e500c 100644
--- a/c/src/lib/libbsp/sh/gensh4/ChangeLog
+++ b/c/src/lib/libbsp/sh/gensh4/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * startup/bspstart.c: Eliminate the clicks_per_microsecond field in the
+ SuperH CPU Table and define another mechanism for drivers to obtain
+ this information.
+
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections
diff --git a/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c
index 5eaa59989a..2b000f3360 100644
--- a/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c
+++ b/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c
@@ -31,6 +31,8 @@
#include <string.h>
+uint32_t bsp_clicks_per_second;
+
/*
* The original table from the application and our copy of it with
* some changes.
@@ -136,5 +138,5 @@ void bsp_start(void)
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
#endif
- Cpu_table.clicks_per_second = CPU_CLOCK_RATE_HZ ;
+ bsp_clicks_per_second = CPU_CLOCK_RATE_HZ;
}
diff --git a/c/src/lib/libbsp/sh/shsim/ChangeLog b/c/src/lib/libbsp/sh/shsim/ChangeLog
index 1777936875..a8c8e21620 100644
--- a/c/src/lib/libbsp/sh/shsim/ChangeLog
+++ b/c/src/lib/libbsp/sh/shsim/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * startup/bspstart.c: Eliminate the clicks_per_microsecond field in the
+ SuperH CPU Table and define another mechanism for drivers to obtain
+ this information.
+
2007-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, preinstall.am, startup/linkcmds: Save the old linker
diff --git a/c/src/lib/libbsp/sh/shsim/startup/bspstart.c b/c/src/lib/libbsp/sh/shsim/startup/bspstart.c
index 8c7b2f5ebf..930c062956 100644
--- a/c/src/lib/libbsp/sh/shsim/startup/bspstart.c
+++ b/c/src/lib/libbsp/sh/shsim/startup/bspstart.c
@@ -27,6 +27,8 @@
#include <rtems/libio.h>
#include <rtems/libcsupport.h>
+uint32_t bsp_clicks_per_second;
+
/*
* The original table from the application and our copy of it with
* some changes.
@@ -123,5 +125,5 @@ void bsp_start( void )
#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
#endif
- Cpu_table.clicks_per_second = CPU_CLOCK_RATE_HZ ;
+ bsp_clicks_per_second = CPU_CLOCK_RATE_HZ;
}