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

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