summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-31 17:33:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-31 17:33:55 +0000
commit39c1a1afdceadb82f14d068a03684cfd4ffc07af (patch)
tree00186f26e0203f7c961c3b91eb28a421109f185e /c/src/lib/libbsp
parent2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-39c1a1afdceadb82f14d068a03684cfd4ffc07af.tar.bz2
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Eliminate empty function from every benchmark timer driver. Fix spelling.
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/arm/nds/ChangeLog5
-rw-r--r--c/src/lib/libbsp/arm/nds/timer/timer.c16
2 files changed, 10 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/arm/nds/ChangeLog b/c/src/lib/libbsp/arm/nds/ChangeLog
index 57590349c9..cce59f49f9 100644
--- a/c/src/lib/libbsp/arm/nds/ChangeLog
+++ b/c/src/lib/libbsp/arm/nds/ChangeLog
@@ -1,5 +1,10 @@
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * timer/timer.c: Eliminate empty function from every benchmark timer
+ driver. Fix spelling.
+
+2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* timer/timer.c: Rename timer driver methods to follow RTEMS
programming conventions.
diff --git a/c/src/lib/libbsp/arm/nds/timer/timer.c b/c/src/lib/libbsp/arm/nds/timer/timer.c
index 949bf37a9a..f1fa220bfa 100644
--- a/c/src/lib/libbsp/arm/nds/timer/timer.c
+++ b/c/src/lib/libbsp/arm/nds/timer/timer.c
@@ -15,10 +15,10 @@
#include <bsp.h>
#include <nds.h>
-bool benchmark_timerfind_average_overhead;
+bool benchmark_timer_find_average_overhead;
void
-benchmark_timerinitialize (void)
+benchmark_timer_initialize (void)
{
TIMER_CR (1) = 0x0000;
TIMER_CR (2) = 0x0000;
@@ -36,7 +36,7 @@ benchmark_timerinitialize (void)
#define LEAST_VALID 1
uint32_t
-benchmark_timerread (void)
+benchmark_timer_read (void)
{
uint32_t ticks;
@@ -49,14 +49,8 @@ benchmark_timerread (void)
return ticks;
}
-rtems_status_code
-benchmark_timerempty_function (void)
-{
- return RTEMS_SUCCESSFUL;
-}
-
void
-benchmark_timerdisable_subtracting_average_overhead (bool find_flag)
+benchmark_timer_disable_subtracting_average_overhead (bool find_flag)
{
- benchmark_timerfind_average_overhead = find_flag;
+ benchmark_timer_find_average_overhead = find_flag;
}