summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/gba/startup/bspreset.c
blob: b5e06e4eec3007f1122e2b0ae64ad3a725063d2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 *  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 <bsp.h>
#include <gba.h>

void bsp_reset(void)
{
  __asm__ volatile ("ldr  r0, =_gba_reset");
  __asm__ volatile ("bx   r0");
}