summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3/gnatsupp/gnatsupp.c
blob: 552dc85ea71e873f994910f0836d12459f2dc44a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 *
 * Support for gnat/rtems interrupts and exception handling.
 * Jiri Gaisler, ESA/ESTEC, 17-02-1999.
 *
 *  $Id$
 */

void __gnat_install_handler_common (int t1, int t2);

/*
 *  Avoid trap 0x18 which is used by the clock tick, and
 *  0x12 (UART B interrupt) which is used by the stub.
 */

void
__gnat_install_handler (void)
{
  __gnat_install_handler_common (0x18, 0x12);
}