summaryrefslogtreecommitdiff
path: root/bsps/arm/gdbarmsim/start/bspreset.c
blob: b32c80e4e1972f130318427ce4c8e5d2587249a2 (plain)
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.org/license/LICENSE.
 */

#include <rtems.h>
#include <bsp/bootcard.h>
#include <bsp/swi.h>

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