<!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-05-06)</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>
 <font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-05-06 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * include/bsp.h: Moved NEED_LOW_LEVEL_INIT define because it has to be
        visible for the assembler.
        * startup/linkcmds.brs5l: Fixed RAM size.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog.diff?r1=text&tr1=1.146.2.1&r2=text&tr2=1.146.2.2&diff_format=h">M</a></td><td width='1%'>1.146.2.2</td><td width='100%'>c/src/lib/libbsp/powerpc/gen5200/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h.diff?r1=text&tr1=1.24&r2=text&tr2=1.24.2.1&diff_format=h">M</a></td><td width='1%'>1.24.2.1</td><td width='100%'>c/src/lib/libbsp/powerpc/gen5200/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l.diff?r1=text&tr1=1.7&r2=text&tr2=1.7.4.1&diff_format=h">M</a></td><td width='1%'>1.7.4.1</td><td width='100%'>c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.146.2.1 rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.146.2.2
--- rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog:1.146.2.1  Wed Feb  2 09:16:33 2011
+++ rtems/c/src/lib/libbsp/powerpc/gen5200/ChangeLog    Fri May  6 01:28:04 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-05-06    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * include/bsp.h: Moved NEED_LOW_LEVEL_INIT define because it has to be
+       visible for the assembler.
+       * startup/linkcmds.brs5l: Fixed RAM size.
+
</font> 2011-02-02        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * configure.ac: Require autoconf-2.68, automake-1.11.1.

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h:1.24 rtems/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h:1.24.2.1
--- rtems/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h:1.24   Thu Mar 25 15:26:51 2010
+++ rtems/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h        Fri May  6 01:28:04 2011
</font><font color='#997700'>@@ -79,6 +79,11 @@
</font> #define PM520
 #endif
 
<font color='#000088'>+#if !defined(HAS_UBOOT)
+  /* we need the low level initialization in start.S*/
+  #define NEED_LOW_LEVEL_INIT
+#endif
+
</font> #if defined(BRS5L)
 /*
  * IMD Custom Board BRS5L
<font color='#997700'>@@ -123,10 +128,6 @@
</font> extern bd_t bsp_uboot_board_info;
 #else
 
<font color='#880000'>-/* we need the low level initialization in start.S*/
-#define NEED_LOW_LEVEL_INIT
-
-
</font> #endif
 
 /*

<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l:1.7 rtems/c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l:1.7.4.1
--- rtems/c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l:1.7   Wed Sep  3 10:40:11 2008
+++ rtems/c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l       Fri May  6 01:28:04 2011
</font><font color='#997700'>@@ -5,7 +5,7 @@
</font>  */
 
 MEMORY {
<font color='#880000'>-   RAM : ORIGIN = 0x0, LENGTH = 256M
</font><font color='#000088'>+      RAM : ORIGIN = 0x0, LENGTH = 128M
</font>   ROM : ORIGIN = 0xffe00000, LENGTH = 2M
        DPRAM : ORIGIN = 0xff000000, LENGTH = 1k
        REGS : ORIGIN = 0xf0000000, LENGTH = 64k
</pre>
<p> </p>
<a name='cs2'></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-05-06 Sebastian Huber <sebastian.huber@embedded-brains.de>

        * spnsext01/.cvsignore, spnsext01/Makefile.am, spnsext01/init.c,
        spnsext01/spnsext01.doc, spnsext01/spnsext01.scn: New files.
        * Makefile.am, configure.ac: Reflect changes above.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.448&r2=text&tr2=1.449&diff_format=h">M</a></td><td width='1%'>1.449</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/Makefile.am.diff?r1=text&tr1=1.109&r2=text&tr2=1.110&diff_format=h">M</a></td><td width='1%'>1.110</td><td width='100%'>testsuites/sptests/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/configure.ac.diff?r1=text&tr1=1.116&r2=text&tr2=1.117&diff_format=h">M</a></td><td width='1%'>1.117</td><td width='100%'>testsuites/sptests/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spnsext01/.cvsignore?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">testsuites/sptests/spnsext01/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spnsext01/Makefile.am?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">testsuites/sptests/spnsext01/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spnsext01/init.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">testsuites/sptests/spnsext01/init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spnsext01/spnsext01.doc?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">testsuites/sptests/spnsext01/spnsext01.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spnsext01/spnsext01.scn?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">testsuites/sptests/spnsext01/spnsext01.scn</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.448 rtems/testsuites/sptests/ChangeLog:1.449
--- rtems/testsuites/sptests/ChangeLog:1.448    Thu May  5 11:45:57 2011
+++ rtems/testsuites/sptests/ChangeLog  Fri May  6 02:08:03 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-05-06    Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * spnsext01/.cvsignore, spnsext01/Makefile.am, spnsext01/init.c,
+       spnsext01/spnsext01.doc, spnsext01/spnsext01.scn: New files.
+       * Makefile.am, configure.ac: Reflect changes above.
+
</font> 2011-05-05        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * sp09/screen12.c, sp09/sp09.scn, sp21/Makefile.am, sp35/priinv.c,

<font color='#006600'>diff -u rtems/testsuites/sptests/Makefile.am:1.109 rtems/testsuites/sptests/Makefile.am:1.110
--- rtems/testsuites/sptests/Makefile.am:1.109  Mon Apr  4 13:45:38 2011
+++ rtems/testsuites/sptests/Makefile.am        Fri May  6 02:08:03 2011
</font><font color='#997700'>@@ -29,7 +29,7 @@
</font>     spintrcritical09 spintrcritical10 spintrcritical11 spintrcritical12 \
     spintrcritical13 spintrcritical14 spintrcritical15 spintrcritical16 \
     spintrcritical17 spmkdir spmountmgr01 spheapprot \
<font color='#880000'>-    spsimplesched01 spsimplesched02 spsimplesched03
</font><font color='#000088'>+    spsimplesched01 spsimplesched02 spsimplesched03 spnsext01
</font> 
 DIST_SUBDIRS = $(SUBDIRS) spfatal_support spintrcritical_support
 EXTRA_DIST = spfatal_support/init.c spfatal_support/system.h

<font color='#006600'>diff -u rtems/testsuites/sptests/configure.ac:1.116 rtems/testsuites/sptests/configure.ac:1.117
--- rtems/testsuites/sptests/configure.ac:1.116 Mon Apr  4 13:45:38 2011
+++ rtems/testsuites/sptests/configure.ac       Fri May  6 02:08:03 2011
</font><font color='#997700'>@@ -157,6 +157,7 @@
</font> spmkdir/Makefile
 spmountmgr01/Makefile
 spnotepad01/Makefile
<font color='#000088'>+spnsext01/Makefile
</font> spobjgetnext/Makefile
 spprintk/Makefile
 spprivenv01/Makefile

<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/spnsext01/.cvsignore:1.1
--- /dev/null   Fri May  6 02:10:13 2011
+++ rtems/testsuites/sptests/spnsext01/.cvsignore       Fri May  6 02:08:04 2011
</font><font color='#997700'>@@ -0,0 +1,2 @@
</font><font color='#000088'>+Makefile
+Makefile.in
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/spnsext01/Makefile.am:1.1
--- /dev/null   Fri May  6 02:10:13 2011
+++ rtems/testsuites/sptests/spnsext01/Makefile.am      Fri May  6 02:08:04 2011
</font><font color='#997700'>@@ -0,0 +1,27 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+MANAGERS = io semaphore event
+
+rtems_tests_PROGRAMS = spnsext01
+spnsext01_SOURCES = init.c
+
+dist_rtems_tests_DATA = spnsext01.scn spnsext01.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+spnsext01_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
+
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(spnsext01_OBJECTS) $(spnsext01_LDADD)
+LINK_LIBS = $(spnsext01_LDLIBS)
+
+spnsext01$(EXEEXT): $(spnsext01_OBJECTS) $(spnsext01_DEPENDENCIES)
+       @rm -f spnsext01$(EXEEXT)
+       $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/spnsext01/init.c:1.1
--- /dev/null   Fri May  6 02:10:13 2011
+++ rtems/testsuites/sptests/spnsext01/init.c   Fri May  6 02:08:04 2011
</font><font color='#997700'>@@ -0,0 +1,88 @@
</font><font color='#000088'>+/*
+ * 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$
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <tmacros.h>
+
+static rtems_task Init(rtems_task_argument argument)
+{
+  rtems_status_code sc = RTEMS_SUCCESSFUL;
+  rtems_interrupt_level level;
+  rtems_interval t0 = 0;
+  rtems_interval t1 = 0;
+  int i = 0;
+  int n = 0;
+  struct timespec uptime;
+  struct timespec new_uptime;
+
+  puts("\n\n*** TEST NANO SECONDS EXTENSION 1 ***");
+
+  /* Align with clock tick */
+  t0 = rtems_clock_get_ticks_since_boot();
+  while ((t1 = rtems_clock_get_ticks_since_boot()) == t0) {
+    /* Do nothing */
+  }
+
+  t0 = t1;
+  sc = rtems_clock_get_uptime(&uptime);
+  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
+  while ((t1 = rtems_clock_get_ticks_since_boot()) == t0) {
+    ++n;
+    sc = rtems_clock_get_uptime(&new_uptime);
+    rtems_test_assert(sc == RTEMS_SUCCESSFUL);
+    rtems_test_assert(!_Timestamp_Less_than(&new_uptime, &uptime));
+    uptime = new_uptime;
+  }
+
+  n = (3 * n) / 2;
+
+  rtems_interrupt_disable(level);
+  sc = rtems_clock_get_uptime(&uptime);
+  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
+  for (i = 0; i < n; ++i) {
+    /* Preserve execution time of previous loop */
+    rtems_clock_get_ticks_since_boot();
+
+    sc = rtems_clock_get_uptime(&new_uptime);
+    rtems_test_assert(sc == RTEMS_SUCCESSFUL);
+    rtems_test_assert(!_Timestamp_Less_than(&new_uptime, &uptime));
+    uptime = new_uptime;
+  }
+  rtems_interrupt_enable(level);
+
+  puts("*** END OF TEST NANO SECONDS EXTENSION 1 ***");
+
+  rtems_test_exit(0);
+}
+
+#define CONFIGURE_INIT
+
+#define CONFIGURE_MICROSECONDS_PER_TICK 100000
+
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+
+#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
+
+#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_MAXIMUM_DRIVERS 2
+
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#include <rtems/confdefs.h>
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/spnsext01/spnsext01.doc:1.1
--- /dev/null   Fri May  6 02:10:13 2011
+++ rtems/testsuites/sptests/spnsext01/spnsext01.doc    Fri May  6 02:08:04 2011
</font><font color='#997700'>@@ -0,0 +1,27 @@
</font><font color='#000088'>+#<span style="background-color: #FF0000"> </span>
+# Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
+#<span style="background-color: #FF0000"> </span>
+#  embedded brains GmbH
+#  Obere Lagerstr. 30
+#  82178 Puchheim
+#  Germany
+#  <rtems@embedded-brains.de>
+#<span style="background-color: #FF0000"> </span>
+# 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$
+#
+
+This file describes the directives and concepts tested by this test set.
+
+test set name: spnsext
+
+directives:
+
+  rtems_clock_get_uptime
+
+concepts:
+
++ Check if nano seconds extension works.
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/spnsext01/spnsext01.scn:1.1
--- /dev/null   Fri May  6 02:10:13 2011
+++ rtems/testsuites/sptests/spnsext01/spnsext01.scn    Fri May  6 02:08:04 2011
</font><font color='#997700'>@@ -0,0 +1,2 @@
</font><font color='#000088'>+*** TEST NANO SECONDS EXTENSION 1 ***
+*** END OF TEST NANO SECONDS EXTENSION 1 ***
</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>