change log for rtems (2011-10-20)
rtems-vc at rtems.org
rtems-vc at rtems.org
Thu Oct 20 08:10:12 UTC 2011
*sh*:
2011-10-20 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR 1926/bsps
* timer/timer.c: New file.
* Makefile.am: Reflect change above.
M 1.4 c/src/lib/libbsp/powerpc/qoriq/ChangeLog
M 1.4 c/src/lib/libbsp/powerpc/qoriq/Makefile.am
A 1.1 c/src/lib/libbsp/powerpc/qoriq/timer/timer.c
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
@@ -1,3 +1,9 @@
+2011-10-20 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ PR 1926/bsps
+ * timer/timer.c: New file.
+ * Makefile.am: Reflect change above.
+
2011-10-18 Jennifer Averett <Jennifer.Averett at OARcorp.com>
PR 1917/bsps
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
@@ -84,6 +84,9 @@
libbsp_a_SOURCES += clock/clock-config.c \
../../shared/clockdrv_shell.h
+# Timer
+libbsp_a_SOURCES += timer/timer.c
+
# IRQ
libbsp_a_SOURCES += irq/irq.c \
../../shared/src/irq-generic.c \
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
@@ -0,0 +1,44 @@
+/**
+ * @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 at 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 */
+}
--
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/20111020/fe2de7f4/attachment-0001.html>
More information about the vc
mailing list