summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/score603e/timer/timer.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-09 08:38:15 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-09 08:38:15 +0000
commitd085040aef952f77797a4852e1e618eee1ede644 (patch)
tree7837cfb826f102edeefae870797f3cf9e7ed77c8 /c/src/lib/libbsp/powerpc/score603e/timer/timer.c
parent2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-d085040aef952f77797a4852e1e618eee1ede644.tar.bz2
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>. Fix benchmark_timer_read() definition.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/timer/timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/timer/timer.c b/c/src/lib/libbsp/powerpc/score603e/timer/timer.c
index 5566f4dc9c..8fcdb97c15 100644
--- a/c/src/lib/libbsp/powerpc/score603e/timer/timer.c
+++ b/c/src/lib/libbsp/powerpc/score603e/timer/timer.c
@@ -20,6 +20,7 @@
#include <assert.h>
#include <bsp.h>
+#include <rtems/btimer.h>
uint64_t Timer_driver_Start_time;
@@ -43,7 +44,7 @@ void benchmark_timer_initialize()
* benchmark_timer_read
*/
-int benchmark_timer_read()
+uint32_t benchmark_timer_read()
{
uint64_t clicks;
uint64_t total64;