summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/gdbarmsim/startup/bspreset.c
blob: ddf4df6acac3484b0d29b836c4baa46086e0df4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 *  COPYRIGHT (c) 1989-2009.
 *  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/swi.h>

void bsp_reset( void )
{
  __asm__ ("swi %a0" :: "i" (SWI_Exit));
}