summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m32r/m32rsim/startup/bspreset.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m32r/m32rsim/startup/bspreset.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m32r/m32rsim/startup/bspreset.c b/c/src/lib/libbsp/m32r/m32rsim/startup/bspreset.c
new file mode 100644
index 0000000000..af288998c0
--- /dev/null
+++ b/c/src/lib/libbsp/m32r/m32rsim/startup/bspreset.c
@@ -0,0 +1,19 @@
+/*
+ * COPYRIGHT (c) 1989-2011.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * 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/bootcard.h>
+#include <bsp.h>
+
+void bsp_reset( void )
+{
+ TRAP0(SYS_exit, 0, 0, 0);
+}