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

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