change log for rtems (2011-02-09)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Feb 9 07:11:01 UTC 2011
*ralf*:
2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
* include/rtems/btimer.h: New.
* Makefile.am: Add rtems/btimer.h
* libcsupport/include/timerdrv.h: Reflect having split out functions
to rtems/btimer.h.
M 1.2703 cpukit/ChangeLog
M 1.104 cpukit/Makefile.am
A 1.1 cpukit/include/rtems/btimer.h
M 1.14 cpukit/libcsupport/include/timerdrv.h
diff -u rtems/cpukit/ChangeLog:1.2702 rtems/cpukit/ChangeLog:1.2703
--- rtems/cpukit/ChangeLog:1.2702 Mon Feb 7 16:41:37 2011
+++ rtems/cpukit/ChangeLog Wed Feb 9 00:15:52 2011
@@ -1,3 +1,10 @@
+2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * include/rtems/btimer.h: New.
+ * Makefile.am: Add rtems/btimer.h
+ * libcsupport/include/timerdrv.h: Reflect having split out functions
+ to rtems/btimer.h.
+
2011-02-08 Brett Swimley <bswimley at advanced.pro>
* libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did
diff -u rtems/cpukit/Makefile.am:1.103 rtems/cpukit/Makefile.am:1.104
--- rtems/cpukit/Makefile.am:1.103 Mon Oct 4 12:45:32 2010
+++ rtems/cpukit/Makefile.am Wed Feb 9 00:15:53 2011
@@ -75,6 +75,7 @@
include/rtems/concat.h \
include/rtems/status-checks.h
+include_rtems_HEADERS += include/rtems/btimer.h
include_rtems_HEADERS += include/rtems/endian.h
## should be conditional and only installed for PowerPC, x86, and ARM
diff -u /dev/null rtems/cpukit/include/rtems/btimer.h:1.1
--- /dev/null Wed Feb 9 01:10:59 2011
+++ rtems/cpukit/include/rtems/btimer.h Wed Feb 9 00:15:53 2011
@@ -0,0 +1,54 @@
+/**
+ * @file rtems/btimer.h
+ *
+ * RTEMS benchmark timer API for all boards.
+ */
+
+/*
+ * COPYRIGHT (c) 2011 Ralf Corsépius Ulm/Germany
+ *
+ * Derived from libcsupport/include/timerdrv.h:
+ *
+ * COPYRIGHT (c) 1989-1999.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+/*
+ * All the functions declared as extern after this comment
+ * MUST be implemented in each BSP.
+ */
+
+#ifndef _RTEMS_BTIMER_H
+#define _RTEMS_BTIMER_H
+
+#include <stdbool.h>
+#include <stdint.h>
+#include <rtems/rtems/status.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* functions */
+
+extern void benchmark_timer_initialize( void );
+
+extern uint32_t benchmark_timer_read( void );
+
+extern rtems_status_code benchmark_timer_empty_function( void );
+
+extern void benchmark_timer_disable_subtracting_average_overhead(
+ bool find_flag
+);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff -u rtems/cpukit/libcsupport/include/timerdrv.h:1.13 rtems/cpukit/libcsupport/include/timerdrv.h:1.14
--- rtems/cpukit/libcsupport/include/timerdrv.h:1.13 Sun Nov 29 05:57:22 2009
+++ rtems/cpukit/libcsupport/include/timerdrv.h Wed Feb 9 00:15:53 2011
@@ -19,21 +19,13 @@
#ifndef _RTEMS_TIMERDRV_H
#define _RTEMS_TIMERDRV_H
+#include <rtems/btimer.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-/* functions */
-
-void benchmark_timer_initialize( void );
-
-uint32_t benchmark_timer_read( void );
-
-rtems_status_code benchmark_timer_empty_function( void );
-
-void benchmark_timer_disable_subtracting_average_overhead(
- bool find_flag
-);
+/* Intentionally empty */
#ifdef __cplusplus
}
*ralf*:
Regenerate.
M 1.48 cpukit/preinstall.am
diff -u rtems/cpukit/preinstall.am:1.47 rtems/cpukit/preinstall.am:1.48
--- rtems/cpukit/preinstall.am:1.47 Fri Aug 13 07:40:16 2010
+++ rtems/cpukit/preinstall.am Wed Feb 9 00:16:10 2011
@@ -147,6 +147,10 @@
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/status-checks.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/status-checks.h
+$(PROJECT_INCLUDE)/rtems/btimer.h: include/rtems/btimer.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/btimer.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/btimer.h
+
$(PROJECT_INCLUDE)/rtems/endian.h: include/rtems/endian.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/endian.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/endian.h
*ralf*:
2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
* sapi/include/confdefs.h: Fix typo.
M 1.2704 cpukit/ChangeLog
M 1.154 cpukit/sapi/include/confdefs.h
diff -u rtems/cpukit/ChangeLog:1.2703 rtems/cpukit/ChangeLog:1.2704
--- rtems/cpukit/ChangeLog:1.2703 Wed Feb 9 00:15:52 2011
+++ rtems/cpukit/ChangeLog Wed Feb 9 00:18:57 2011
@@ -1,5 +1,9 @@
2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * sapi/include/confdefs.h: Fix typo.
+
+2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* include/rtems/btimer.h: New.
* Makefile.am: Add rtems/btimer.h
* libcsupport/include/timerdrv.h: Reflect having split out functions
diff -u rtems/cpukit/sapi/include/confdefs.h:1.153 rtems/cpukit/sapi/include/confdefs.h:1.154
--- rtems/cpukit/sapi/include/confdefs.h:1.153 Fri Dec 17 08:56:06 2010
+++ rtems/cpukit/sapi/include/confdefs.h Wed Feb 9 00:18:57 2011
@@ -499,7 +499,7 @@
#endif
/*
- * STACK_CHECER_ON was still available in 4.9 so give a warning for now.
+ * STACK_CHECKER_ON was still available in 4.9 so give a warning for now.
*/
#if defined(STACK_CHECKER_ON)
#define CONFIGURE_STACK_CHECKER_ENABLED
*ralf*:
2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
* timerstub.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
M 1.183 c/src/lib/libbsp/shared/ChangeLog
M 1.6 c/src/lib/libbsp/shared/timerstub.c
diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.182 rtems/c/src/lib/libbsp/shared/ChangeLog:1.183
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.182 Tue Feb 1 09:48:26 2011
+++ rtems/c/src/lib/libbsp/shared/ChangeLog Wed Feb 9 00:36:52 2011
@@ -1,3 +1,8 @@
+2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * timerstub.c: Include <rtems/btimer.h>.
+ Fix benchmark_timer_read() definition.
+
2011-02-01 Sebastian Huber <sebastian.huber at embedded-brains.de>
* console.c: Flow control is optional.
diff -u rtems/c/src/lib/libbsp/shared/timerstub.c:1.5 rtems/c/src/lib/libbsp/shared/timerstub.c:1.6
--- rtems/c/src/lib/libbsp/shared/timerstub.c:1.5 Fri Sep 5 03:08:39 2008
+++ rtems/c/src/lib/libbsp/shared/timerstub.c Wed Feb 9 00:36:52 2011
@@ -10,6 +10,7 @@
*/
#include <bsp.h>
+#include <rtems/btimer.h>
bool benchmark_timer_find_average_overhead;
@@ -17,7 +18,7 @@
{
}
-int benchmark_timer_read(void)
+uint32_t benchmark_timer_read(void)
{
if (benchmark_timer_find_average_overhead)
return 1;
*ralf*:
2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
M 1.66 c/src/lib/libbsp/mips/csb350/ChangeLog
M 1.10 c/src/lib/libbsp/mips/csb350/timer/timer.c
M 1.133 c/src/lib/libbsp/mips/genmongoosev/ChangeLog
M 1.16 c/src/lib/libbsp/mips/genmongoosev/timer/timer.c
M 1.128 c/src/lib/libbsp/mips/jmr3904/ChangeLog
M 1.12 c/src/lib/libbsp/mips/jmr3904/timer/timer.c
M 1.160 c/src/lib/libbsp/sparc/erc32/ChangeLog
M 1.16 c/src/lib/libbsp/sparc/erc32/timer/timer.c
M 1.78 c/src/lib/libbsp/sparc/leon2/ChangeLog
M 1.10 c/src/lib/libbsp/sparc/leon2/timer/timer.c
M 1.100 c/src/lib/libbsp/sparc/leon3/ChangeLog
M 1.15 c/src/lib/libbsp/sparc/leon3/timer/timer.c
diff -u rtems/c/src/lib/libbsp/mips/csb350/ChangeLog:1.65 rtems/c/src/lib/libbsp/mips/csb350/ChangeLog:1.66
--- rtems/c/src/lib/libbsp/mips/csb350/ChangeLog:1.65 Wed Feb 2 08:59:36 2011
+++ rtems/c/src/lib/libbsp/mips/csb350/ChangeLog Wed Feb 9 00:41:40 2011
@@ -1,3 +1,8 @@
+2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * timer/timer.c: Include <rtems/btimer.h>.
+ Fix benchmark_timer_read() definition.
+
2011-02-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff -u rtems/c/src/lib/libbsp/mips/csb350/timer/timer.c:1.9 rtems/c/src/lib/libbsp/mips/csb350/timer/timer.c:1.10
--- rtems/c/src/lib/libbsp/mips/csb350/timer/timer.c:1.9 Fri Jan 28 14:29:47 2011
+++ rtems/c/src/lib/libbsp/mips/csb350/timer/timer.c Wed Feb 9 00:41:40 2011
@@ -15,6 +15,7 @@
#include <assert.h>
#include <bsp.h>
+#include <rtems/btimer.h>
bool benchmark_timer_find_average_overhead;
uint32_t tstart;
@@ -30,7 +31,7 @@
#define LEAST_VALID 1 /* Don't trust a value lower than this */
/* tx39 simulator can count instructions. :) */
-int benchmark_timer_read(void)
+uint32_t benchmark_timer_read(void)
{
uint32_t total;
uint32_t cnt;
diff -u rtems/c/src/lib/libbsp/mips/genmongoosev/ChangeLog:1.132 rtems/c/src/lib/libbsp/mips/genmongoosev/ChangeLog:1.133
--- rtems/c/src/lib/libbsp/mips/genmongoosev/ChangeLog:1.132 Wed Feb 2 08:59:37 2011
+++ rtems/c/src/lib/libbsp/mips/genmongoosev/ChangeLog Wed Feb 9 00:41:40 2011
@@ -1,3 +1,8 @@
+2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * timer/timer.c: Include <rtems/btimer.h>.
+ Fix benchmark_timer_read() definition.
+
2011-02-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff -u rtems/c/src/lib/libbsp/mips/genmongoosev/timer/timer.c:1.15 rtems/c/src/lib/libbsp/mips/genmongoosev/timer/timer.c:1.16
--- rtems/c/src/lib/libbsp/mips/genmongoosev/timer/timer.c:1.15 Fri Jan 28 14:29:47 2011
+++ rtems/c/src/lib/libbsp/mips/genmongoosev/timer/timer.c Wed Feb 9 00:41:40 2011
@@ -14,6 +14,7 @@
#include <assert.h>
#include <bsp.h>
+#include <rtems/btimer.h>
bool benchmark_timer_find_average_overhead;
@@ -56,7 +57,7 @@
/* mongoose-v can count cycles. :) */
#include <rtems/bspIo.h>
-int benchmark_timer_read(void)
+uint32_t benchmark_timer_read(void)
{
uint32_t clicks;
uint32_t total;
diff -u rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog:1.127 rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog:1.128
--- rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog:1.127 Wed Feb 2 08:59:40 2011
+++ rtems/c/src/lib/libbsp/mips/jmr3904/ChangeLog Wed Feb 9 00:41:40 2011
@@ -1,3 +1,8 @@
+2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * timer/timer.c: Include <rtems/btimer.h>.
+ Fix benchmark_timer_read() definition.
+
2011-02-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff -u rtems/c/src/lib/libbsp/mips/jmr3904/timer/timer.c:1.11 rtems/c/src/lib/libbsp/mips/jmr3904/timer/timer.c:1.12
--- rtems/c/src/lib/libbsp/mips/jmr3904/timer/timer.c:1.11 Fri Jan 28 14:29:47 2011
+++ rtems/c/src/lib/libbsp/mips/jmr3904/timer/timer.c Wed Feb 9 00:41:41 2011
@@ -16,6 +16,7 @@
#include <assert.h>
#include <bsp.h>
+#include <rtems/btimer.h>
bool benchmark_timer_find_average_overhead;
@@ -45,7 +46,7 @@
#define LEAST_VALID 1 /* Don't trust a value lower than this */
/* tx39 simulator can count instructions. :) */
-int benchmark_timer_read(void)
+uint32_t benchmark_timer_read(void)
{
uint32_t total;
diff -u rtems/c/src/lib/libbsp/sparc/erc32/ChangeLog:1.159 rtems/c/src/lib/libbsp/sparc/erc32/ChangeLog:1.160
--- rtems/c/src/lib/libbsp/sparc/erc32/ChangeLog:1.159 Wed Feb 9 00:02:51 2011
+++ rtems/c/src/lib/libbsp/sparc/erc32/ChangeLog Wed Feb 9 00:33:58 2011
@@ -1,5 +1,10 @@
2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * timer/timer.c: Include <rtems/btimer.h>.
+ Fix benchmark_timer_read() definition.
+
+2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* make/custom/erc32.cfg: Remove -ftest-coverage.
2011-02-02 Ralf Corsépius <ralf.corsepius at rtems.org>
diff -u rtems/c/src/lib/libbsp/sparc/erc32/timer/timer.c:1.15 rtems/c/src/lib/libbsp/sparc/erc32/timer/timer.c:1.16
--- rtems/c/src/lib/libbsp/sparc/erc32/timer/timer.c:1.15 Fri Sep 5 00:43:52 2008
+++ rtems/c/src/lib/libbsp/sparc/erc32/timer/timer.c Wed Feb 9 00:33:58 2011
@@ -21,6 +21,7 @@
*/
#include <bsp.h>
+#include <rtems/btimer.h>
bool benchmark_timer_find_average_overhead;
@@ -63,7 +64,7 @@
#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 -u rtems/c/src/lib/libbsp/sparc/leon2/ChangeLog:1.77 rtems/c/src/lib/libbsp/sparc/leon2/ChangeLog:1.78
--- rtems/c/src/lib/libbsp/sparc/leon2/ChangeLog:1.77 Wed Feb 2 09:00:39 2011
+++ rtems/c/src/lib/libbsp/sparc/leon2/ChangeLog Wed Feb 9 00:33:58 2011
@@ -1,3 +1,8 @@
+2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * timer/timer.c: Include <rtems/btimer.h>.
+ Fix benchmark_timer_read() definition.
+
2011-02-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff -u rtems/c/src/lib/libbsp/sparc/leon2/timer/timer.c:1.9 rtems/c/src/lib/libbsp/sparc/leon2/timer/timer.c:1.10
--- rtems/c/src/lib/libbsp/sparc/leon2/timer/timer.c:1.9 Sun Nov 29 09:33:27 2009
+++ rtems/c/src/lib/libbsp/sparc/leon2/timer/timer.c Wed Feb 9 00:33:58 2011
@@ -21,6 +21,7 @@
#include <bsp.h>
+#include <rtems/btimer.h>
bool benchmark_timer_find_average_overhead;
@@ -53,7 +54,7 @@
/* 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 -u rtems/c/src/lib/libbsp/sparc/leon3/ChangeLog:1.99 rtems/c/src/lib/libbsp/sparc/leon3/ChangeLog:1.100
--- rtems/c/src/lib/libbsp/sparc/leon3/ChangeLog:1.99 Wed Feb 2 09:00:43 2011
+++ rtems/c/src/lib/libbsp/sparc/leon3/ChangeLog Wed Feb 9 00:33:58 2011
@@ -1,3 +1,8 @@
+2011-02-09 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * timer/timer.c: Include <rtems/btimer.h>.
+ Fix benchmark_timer_read() definition.
+
2011-02-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff -u rtems/c/src/lib/libbsp/sparc/leon3/timer/timer.c:1.14 rtems/c/src/lib/libbsp/sparc/leon3/timer/timer.c:1.15
--- rtems/c/src/lib/libbsp/sparc/leon3/timer/timer.c:1.14 Sun Nov 29 09:33:27 2009
+++ rtems/c/src/lib/libbsp/sparc/leon3/timer/timer.c Wed Feb 9 00:33:58 2011
@@ -21,6 +21,7 @@
#include <bsp.h>
+#include <rtems/btimer.h>
#if defined(RTEMS_MULTIPROCESSING)
#define LEON3_TIMER_INDEX \
@@ -57,7 +58,7 @@
/* 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;
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110209/2c2c0237/attachment-0001.html>
More information about the vc
mailing list