summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3/gnatsupp/gnatsupp.c
blob: 4b1056fe4cc7e7c3204a4128c655e6ef55663e4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * @file
 * @ingroup sparc_leon3
 * @brief Support for gnat/rtems interrupts and exception handling
 */

/*
 * Jiri Gaisler, ESA/ESTEC, 17-02-1999.
 */

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);
}