<!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 (2010-07-07)</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>2010-07-07 Sebastian Huber <Sebastian.Huber@embedded-brains.de>

        * minimum/init.c: Use fatal error extension to prevent infinite
        runtime.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/ChangeLog.diff?r1=text&tr1=1.179&r2=text&tr2=1.180&diff_format=h">M</a></td><td width='1%'>1.180</td><td width='100%'>testsuites/samples/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/minimum/init.c.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>testsuites/samples/minimum/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/samples/ChangeLog:1.179 rtems/testsuites/samples/ChangeLog:1.180
--- rtems/testsuites/samples/ChangeLog:1.179    Mon Jun 21 17:54:20 2010
+++ rtems/testsuites/samples/ChangeLog  Wed Jul  7 04:25:59 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-07-07    Sebastian Huber <Sebastian.Huber@embedded-brains.de>
+
+       * minimum/init.c: Use fatal error extension to prevent infinite
+       runtime.
+
</font> 2010-06-21        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * capture/capture.doc: Remove more ITRON references.

<font color='#006600'>diff -u rtems/testsuites/samples/minimum/init.c:1.19 rtems/testsuites/samples/minimum/init.c:1.20
--- rtems/testsuites/samples/minimum/init.c:1.19        Sun Nov 29 21:33:23 2009
+++ rtems/testsuites/samples/minimum/init.c     Wed Jul  7 04:26:05 2010
</font><font color='#997700'>@@ -10,7 +10,10 @@
</font>  *  $Id$
  */
 
<font color='#000088'>+#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
+
</font> #include <bsp.h>
<font color='#000088'>+#include <rtems/score/thread.h>
</font> 
 rtems_task Init(
   rtems_task_argument ignored
<font color='#997700'>@@ -26,6 +29,21 @@
</font> /* configuration information */
 
 /*
<font color='#000088'>+ * This fatal extension adds some bytes to the absolute minimum, but it
+ * prevents the _CPU_Fatal_halt().
+ */
+static void Fatal_extension(
+  uint32_t source,
+  bool is_internal,
+  uint32_t error
+)
+{
+  _Thread_Stop_multitasking();
+}
+
+#define CONFIGURE_INITIAL_EXTENSIONS { .fatal = Fatal_extension }
+
+/*
</font>  * This application has no device drivers.
  */
 /* NOTICE: the clock driver is explicitly disabled */
</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>