summaryrefslogtreecommitdiffstats
path: root/bsps/v850/gdbv850sim/start/bspreset.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/v850/gdbv850sim/start/bspreset.c')
-rw-r--r--bsps/v850/gdbv850sim/start/bspreset.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/bsps/v850/gdbv850sim/start/bspreset.c b/bsps/v850/gdbv850sim/start/bspreset.c
new file mode 100644
index 0000000000..b2986f4a24
--- /dev/null
+++ b/bsps/v850/gdbv850sim/start/bspreset.c
@@ -0,0 +1,23 @@
+/**
+ * @file
+ *
+ * This routine exits the simulator.
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2012.
+ * 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.org/license/LICENSE.
+ */
+
+#include <rtems.h>
+#include <bsp/bootcard.h>
+#include <bsp/syscall.h>
+
+void bsp_reset( void )
+{
+ TRAP0 (SYS_exit, 0, 0, 0);
+}