From ec54b2b5e8e1290e59ad0b19ebb168b34eee5dd7 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 9 Feb 2011 06:33:58 +0000 Subject: =?UTF-8?q?2011-02-09=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * timer/timer.c: Include . Fix benchmark_timer_read() definition. --- c/src/lib/libbsp/sparc/erc32/ChangeLog | 5 +++++ c/src/lib/libbsp/sparc/erc32/timer/timer.c | 3 ++- c/src/lib/libbsp/sparc/leon2/ChangeLog | 5 +++++ c/src/lib/libbsp/sparc/leon2/timer/timer.c | 3 ++- c/src/lib/libbsp/sparc/leon3/ChangeLog | 5 +++++ c/src/lib/libbsp/sparc/leon3/timer/timer.c | 3 ++- 6 files changed, 21 insertions(+), 3 deletions(-) (limited to 'c/src/lib') diff --git a/c/src/lib/libbsp/sparc/erc32/ChangeLog b/c/src/lib/libbsp/sparc/erc32/ChangeLog index b1274faad0..3e84f6e077 100644 --- a/c/src/lib/libbsp/sparc/erc32/ChangeLog +++ b/c/src/lib/libbsp/sparc/erc32/ChangeLog @@ -1,3 +1,8 @@ +2011-02-09 Ralf Corsépius + + * timer/timer.c: Include . + Fix benchmark_timer_read() definition. + 2011-02-09 Ralf Corsépius * make/custom/erc32.cfg: Remove -ftest-coverage. diff --git a/c/src/lib/libbsp/sparc/erc32/timer/timer.c b/c/src/lib/libbsp/sparc/erc32/timer/timer.c index 39a0bc2b48..fe8b95ae02 100644 --- a/c/src/lib/libbsp/sparc/erc32/timer/timer.c +++ b/c/src/lib/libbsp/sparc/erc32/timer/timer.c @@ -21,6 +21,7 @@ */ #include +#include bool benchmark_timer_find_average_overhead; @@ -63,7 +64,7 @@ void benchmark_timer_initialize(void) #define LEAST_VALID 13 /* Don't trust a value lower than this */ #endif -int benchmark_timer_read(void) +uint32_t benchmark_timer_read(void) { uint32_t total; diff --git a/c/src/lib/libbsp/sparc/leon2/ChangeLog b/c/src/lib/libbsp/sparc/leon2/ChangeLog index 3e83524e83..c047190d90 100644 --- a/c/src/lib/libbsp/sparc/leon2/ChangeLog +++ b/c/src/lib/libbsp/sparc/leon2/ChangeLog @@ -1,3 +1,8 @@ +2011-02-09 Ralf Corsépius + + * timer/timer.c: Include . + Fix benchmark_timer_read() definition. + 2011-02-02 Ralf Corsépius * configure.ac: Require autoconf-2.68, automake-1.11.1. diff --git a/c/src/lib/libbsp/sparc/leon2/timer/timer.c b/c/src/lib/libbsp/sparc/leon2/timer/timer.c index 4c139b44f5..8987350302 100644 --- a/c/src/lib/libbsp/sparc/leon2/timer/timer.c +++ b/c/src/lib/libbsp/sparc/leon2/timer/timer.c @@ -21,6 +21,7 @@ #include +#include bool benchmark_timer_find_average_overhead; @@ -53,7 +54,7 @@ void benchmark_timer_initialize(void) /* to start/stop the timer. */ #define LEAST_VALID 2 /* Don't trust a value lower than this */ -int benchmark_timer_read(void) +uint32_t benchmark_timer_read(void) { uint32_t total; diff --git a/c/src/lib/libbsp/sparc/leon3/ChangeLog b/c/src/lib/libbsp/sparc/leon3/ChangeLog index 92fcbd44dc..6a2b366a08 100644 --- a/c/src/lib/libbsp/sparc/leon3/ChangeLog +++ b/c/src/lib/libbsp/sparc/leon3/ChangeLog @@ -1,3 +1,8 @@ +2011-02-09 Ralf Corsépius + + * timer/timer.c: Include . + Fix benchmark_timer_read() definition. + 2011-02-02 Ralf Corsépius * configure.ac: Require autoconf-2.68, automake-1.11.1. diff --git a/c/src/lib/libbsp/sparc/leon3/timer/timer.c b/c/src/lib/libbsp/sparc/leon3/timer/timer.c index 47de8339dc..f747dd64d8 100644 --- a/c/src/lib/libbsp/sparc/leon3/timer/timer.c +++ b/c/src/lib/libbsp/sparc/leon3/timer/timer.c @@ -21,6 +21,7 @@ #include +#include #if defined(RTEMS_MULTIPROCESSING) #define LEON3_TIMER_INDEX \ @@ -57,7 +58,7 @@ void benchmark_timer_initialize(void) /* to start/stop the timer. */ #define LEAST_VALID 2 /* Don't trust a value lower than this */ -int benchmark_timer_read(void) +uint32_t benchmark_timer_read(void) { uint32_t total; -- cgit v1.2.3