change log for rtems (2011-02-21)
rtems-vc at rtems.org
rtems-vc at rtems.org
Mon Feb 21 13:10:32 UTC 2011
*sh*:
2010-02-21 Sebastian Huber <sebastian.huber at embedded-brains.de>
* include/bsp.h, lpc32xx/misc/restart.c: Renamed lpc32xx_restart() in
bsp_restart().
M 1.27 c/src/lib/libbsp/arm/lpc32xx/ChangeLog
M 1.7 c/src/lib/libbsp/arm/lpc32xx/include/bsp.h
M 1.4 c/src/lib/libbsp/arm/lpc32xx/misc/restart.c
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
@@ -1,3 +1,8 @@
+2010-02-21 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * include/bsp.h, lpc32xx/misc/restart.c: Renamed lpc32xx_restart() in
+ bsp_restart().
+
2011-02-11 Ralf Corsépius <ralf.corsepius at rtems.org>
* irq/irq.c, misc/restart.c, rtc/rtc-config.c:
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
@@ -110,7 +110,7 @@
} while (elapsed < delay);
}
-void lpc32xx_restart(void *addr);
+void bsp_restart(void *addr);
#define BSP_CONSOLE_UART_BASE LPC32XX_BASE_UART_5
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
@@ -7,16 +7,19 @@
*/
/*
- * Copyright (c) 2010
- * embedded brains GmbH
- * Obere Lagerstr. 30
- * D-82178 Puchheim
- * Germany
- * <rtems at embedded-brains.de>
+ * Copyright (c) 2010, 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.h>
@@ -25,7 +28,7 @@
#include <bsp.h>
-void lpc32xx_restart(void *addr)
+void bsp_restart(void *addr)
{
ARM_SWITCH_REGISTERS;
rtems_interrupt_level level;
*sh*:
Typo.
M 1.28 c/src/lib/libbsp/arm/lpc32xx/ChangeLog
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
@@ -1,4 +1,4 @@
-2010-02-21 Sebastian Huber <sebastian.huber at embedded-brains.de>
+2011-02-21 Sebastian Huber <sebastian.huber at embedded-brains.de>
* include/bsp.h, lpc32xx/misc/restart.c: Renamed lpc32xx_restart() in
bsp_restart().
*sh*:
2011-02-21 Sebastian Huber <sebastian.huber at embedded-brains.de>
* misc/restart.c: New file.
* Makefile.am: Reflect change from above.
* include/bsp.h: Declare bsp_restart().
M 1.65 c/src/lib/libbsp/arm/lpc24xx/ChangeLog
M 1.31 c/src/lib/libbsp/arm/lpc24xx/Makefile.am
M 1.10 c/src/lib/libbsp/arm/lpc24xx/include/bsp.h
A 1.1 c/src/lib/libbsp/arm/lpc24xx/misc/restart.c
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
@@ -1,3 +1,9 @@
+2011-02-21 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * misc/restart.c: New file.
+ * Makefile.am: Reflect change from above.
+ * include/bsp.h: Declare bsp_restart().
+
2011-02-11 Ralf Corsépius <ralf.corsepius at rtems.org>
* startup/bspstarthooks.c:
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
@@ -124,6 +124,7 @@
misc/bspidle.c \
misc/io.c \
misc/lcd.c \
+ misc/restart.c \
misc/timer.c
# SSP
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
@@ -89,6 +89,8 @@
#define BSP_CONSOLE_UART_BASE 0xe000c000
+void bsp_restart(void *addr);
+
/** @} */
#endif /* ASM */
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
@@ -0,0 +1,43 @@
+/**
+ * @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 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.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)
+ );
+}
--
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/20110221/dfeefbff/attachment-0001.html>
More information about the vc
mailing list