<!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-02-21)</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-02-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h, lpc32xx/misc/restart.c: Renamed lpc32xx_restart() in
bsp_restart().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog.diff?r1=text&tr1=1.26&r2=text&tr2=1.27&diff_format=h">M</a></td><td width='1%'>1.27</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/misc/restart.c.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/arm/lpc32xx/misc/restart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.26 rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.27
--- rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.26 Fri Feb 11 05:48:17 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog Mon Feb 21 06:54:44 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-02-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * include/bsp.h, lpc32xx/misc/restart.c: Renamed lpc32xx_restart() in
+ bsp_restart().
+
</font> 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq/irq.c, misc/restart.c, rtc/rtc-config.c:
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h:1.6 rtems/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h:1.7
--- rtems/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h:1.6 Thu Oct 21 08:58:18 2010
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/include/bsp.h Mon Feb 21 06:54:44 2011
</font><font color='#997700'>@@ -110,7 +110,7 @@
</font> } while (elapsed < delay);
}
<font color='#880000'>-void lpc32xx_restart(void *addr);
</font><font color='#000088'>+void bsp_restart(void *addr);
</font>
#define BSP_CONSOLE_UART_BASE LPC32XX_BASE_UART_5
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/misc/restart.c:1.3 rtems/c/src/lib/libbsp/arm/lpc32xx/misc/restart.c:1.4
--- rtems/c/src/lib/libbsp/arm/lpc32xx/misc/restart.c:1.3 Fri Feb 11 05:48:17 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/misc/restart.c Mon Feb 21 06:54:45 2011
</font><font color='#997700'>@@ -7,16 +7,19 @@
</font> */
/*
<font color='#880000'>- * Copyright (c) 2010
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * D-82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
</font><font color='#000088'>+ * Copyright (c) 2010, 2011 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
</font> *
* 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.
<font color='#000088'>+ *
+ * $Id$
</font> */
#include <rtems.h>
<font color='#997700'>@@ -25,7 +28,7 @@
</font>
#include <bsp.h>
<font color='#880000'>-void lpc32xx_restart(void *addr)
</font><font color='#000088'>+void bsp_restart(void *addr)
</font> {
ARM_SWITCH_REGISTERS;
rtems_interrupt_level level;
</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>Typo.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h">M</a></td><td width='1%'>1.28</td><td width='100%'>c/src/lib/libbsp/arm/lpc32xx/ChangeLog</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.27 rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.28
--- rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog:1.27 Mon Feb 21 06:54:44 2011
+++ rtems/c/src/lib/libbsp/arm/lpc32xx/ChangeLog Mon Feb 21 06:54:58 2011
</font><font color='#997700'>@@ -1,4 +1,4 @@
</font><font color='#880000'>-2010-02-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
</font><font color='#000088'>+2011-02-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
</font>
* include/bsp.h, lpc32xx/misc/restart.c: Renamed lpc32xx_restart() in
bsp_restart().
</pre>
<p> </p>
<a name='cs3'></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-02-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* misc/restart.c: New file.
* Makefile.am: Reflect change from above.
* include/bsp.h: Declare bsp_restart().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog.diff?r1=text&tr1=1.64&r2=text&tr2=1.65&diff_format=h">M</a></td><td width='1%'>1.65</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am.diff?r1=text&tr1=1.30&r2=text&tr2=1.31&diff_format=h">M</a></td><td width='1%'>1.31</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/include/bsp.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/misc/restart.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/arm/lpc24xx/misc/restart.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.64 rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.65
--- rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.64 Fri Feb 11 05:48:16 2011
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog Mon Feb 21 06:56:34 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-02-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * misc/restart.c: New file.
+ * Makefile.am: Reflect change from above.
+ * include/bsp.h: Declare bsp_restart().
+
</font> 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstarthooks.c:
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am:1.30 rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am:1.31
--- rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am:1.30 Fri Dec 3 03:56:47 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am Mon Feb 21 06:56:34 2011
</font><font color='#997700'>@@ -124,6 +124,7 @@
</font> misc/bspidle.c \
misc/io.c \
misc/lcd.c \
<font color='#000088'>+ misc/restart.c \
</font> misc/timer.c
# SSP
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h:1.9 rtems/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h:1.10
--- rtems/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h:1.9 Thu May 20 08:10:56 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h Mon Feb 21 06:56:34 2011
</font><font color='#997700'>@@ -89,6 +89,8 @@
</font>
#define BSP_CONSOLE_UART_BASE 0xe000c000
<font color='#000088'>+void bsp_restart(void *addr);
+
</font> /** @} */
#endif /* ASM */
<font color='#006600'>diff -u /dev/null rtems/c/src/lib/libbsp/arm/lpc24xx/misc/restart.c:1.1
--- /dev/null Mon Feb 21 07:10:31 2011
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/misc/restart.c Mon Feb 21 06:56:34 2011
</font><font color='#997700'>@@ -0,0 +1,43 @@
</font><font color='#000088'>+/**
+ * @file
+ *
+ * @ingroup lpc24xx
+ *
+ * @brief Restart implementation.
+ */
+
+/*
+ * 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.h>
+
+#include <bsp.h>
+
+void bsp_restart(void *addr)
+{
+ ARM_SWITCH_REGISTERS;
+ rtems_interrupt_level level;
+
+ rtems_interrupt_disable(level);
+
+ asm volatile (
+ ARM_SWITCH_TO_ARM
+ "mov pc, %[addr]\n"
+ ARM_SWITCH_BACK
+ : ARM_SWITCH_OUTPUT
+ : [addr] "r" (addr)
+ );
+}
</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>