From d085040aef952f77797a4852e1e618eee1ede644 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 9 Feb 2011 08:38:15 +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/i386/i386ex/ChangeLog | 5 +++++ c/src/lib/libbsp/i386/i386ex/timer/timer.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/i386/i386ex') diff --git a/c/src/lib/libbsp/i386/i386ex/ChangeLog b/c/src/lib/libbsp/i386/i386ex/ChangeLog index d3c2338e4c..1ed3b7bc0f 100644 --- a/c/src/lib/libbsp/i386/i386ex/ChangeLog +++ b/c/src/lib/libbsp/i386/i386ex/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/i386/i386ex/timer/timer.c b/c/src/lib/libbsp/i386/i386ex/timer/timer.c index 00ff157628..c4c9390648 100644 --- a/c/src/lib/libbsp/i386/i386ex/timer/timer.c +++ b/c/src/lib/libbsp/i386/i386ex/timer/timer.c @@ -11,6 +11,7 @@ #include #include +#include #include int Ttimer_val; @@ -93,7 +94,7 @@ void benchmark_timer_initialize(void) /* (3 ticks) to start/stop the timer. */ #define LEAST_VALID 4 /* Don't trust a value lower than this */ -int benchmark_timer_read(void) +uint32_t benchmark_timer_read(void) { register uint32_t clicks; register uint32_t total; -- cgit v1.2.3