summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-10-19 15:06:04 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-10-19 15:06:04 +0000
commitd4b5246079a1dc8d6b487437dfb74dc5d20076f8 (patch)
tree154ec323bdbe4ec818cb440cac8a9363e7d91b4c /cpukit
parentRemove white spaces. (diff)
downloadrtems-d4b5246079a1dc8d6b487437dfb74dc5d20076f8.tar.bz2
2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/btimer.h: Introduce benchmark_timer_t. Let benchmark_timer_read return benchmark_timer_t.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/include/rtems/btimer.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 4903f2a6ce..898086413f 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * include/rtems/btimer.h: Introduce benchmark_timer_t.
+ Let benchmark_timer_read return benchmark_timer_t.
+
2011-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1939/cpukit
diff --git a/cpukit/include/rtems/btimer.h b/cpukit/include/rtems/btimer.h
index b74a6f6bce..21cc9b6d6a 100644
--- a/cpukit/include/rtems/btimer.h
+++ b/cpukit/include/rtems/btimer.h
@@ -35,11 +35,13 @@
extern "C" {
#endif
+typedef uint32_t benchmark_timer_t;
+
/* functions */
extern void benchmark_timer_initialize( void );
-extern uint32_t benchmark_timer_read( void );
+extern benchmark_timer_t benchmark_timer_read( void );
extern rtems_status_code benchmark_timer_empty_function( void );