diff options
Diffstat (limited to 'c/src/lib/libbsp/v850/gdbv850sim/startup/bspreset.c')
-rw-r--r-- | c/src/lib/libbsp/v850/gdbv850sim/startup/bspreset.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/v850/gdbv850sim/startup/bspreset.c b/c/src/lib/libbsp/v850/gdbv850sim/startup/bspreset.c new file mode 100644 index 0000000000..a57512ca54 --- /dev/null +++ b/c/src/lib/libbsp/v850/gdbv850sim/startup/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.com/license/LICENSE. + */ + +#include <rtems.h> +#include <bsp/bootcard.h> +#include <bsp/syscall.h> + +void bsp_reset( void ) +{ + TRAP0 (SYS_exit, 0, 0, 0); +} |