<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-10-20)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1926/bsps
* timer/timer.c: New file.
* Makefile.am: Reflect change above.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/qoriq/ChangeLog.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/powerpc/qoriq/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/qoriq/Makefile.am.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>c/src/lib/libbsp/powerpc/qoriq/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/qoriq/timer/timer.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">c/src/lib/libbsp/powerpc/qoriq/timer/timer.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/qoriq/ChangeLog:1.3 rtems/c/src/lib/libbsp/powerpc/qoriq/ChangeLog:1.4
--- rtems/c/src/lib/libbsp/powerpc/qoriq/ChangeLog:1.3 Tue Oct 18 13:32:22 2011
+++ rtems/c/src/lib/libbsp/powerpc/qoriq/ChangeLog Thu Oct 20 02:30:24 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-10-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ PR 1926/bsps
+ * timer/timer.c: New file.
+ * Makefile.am: Reflect change above.
+
</font> 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/qoriq/Makefile.am:1.3 rtems/c/src/lib/libbsp/powerpc/qoriq/Makefile.am:1.4
--- rtems/c/src/lib/libbsp/powerpc/qoriq/Makefile.am:1.3 Tue Oct 18 13:32:22 2011
+++ rtems/c/src/lib/libbsp/powerpc/qoriq/Makefile.am Thu Oct 20 02:30:24 2011
</font><font color='#997700'>@@ -84,6 +84,9 @@
</font> libbsp_a_SOURCES += clock/clock-config.c \
../../shared/clockdrv_shell.h
<font color='#000088'>+# Timer
+libbsp_a_SOURCES += timer/timer.c
+
</font> # IRQ
libbsp_a_SOURCES += irq/irq.c \
../../shared/src/irq-generic.c \
<font color='#006600'>diff -u /dev/null rtems/c/src/lib/libbsp/powerpc/qoriq/timer/timer.c:1.1
--- /dev/null Thu Oct 20 03:10:12 2011
+++ rtems/c/src/lib/libbsp/powerpc/qoriq/timer/timer.c Thu Oct 20 02:30:24 2011
</font><font color='#997700'>@@ -0,0 +1,44 @@
</font><font color='#000088'>+/**
+ * @file
+ *
+ * @ingroup QorIQ
+ *
+ * @brief QorIQ benchmark timer.
+ */
+
+/*
+ * Copyright (c) 2011 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
+ *
+ * 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$
+ */
+
+#include <rtems/btimer.h>
+
+#include <libcpu/powerpc-utility.h>
+
+static benchmark_timer_t benchmark_timer_base;
+
+void benchmark_timer_initialize(void)
+{
+ benchmark_timer_base = ppc_alternate_time_base();
+}
+
+benchmark_timer_t benchmark_timer_read(void)
+{
+ return ppc_alternate_time_base() - benchmark_timer_base;
+}
+
+void benchmark_timer_disable_subtracting_average_overhead(bool find_average_overhead)
+{
+ /* VOID */
+}
</font></pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>