summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon2/gnatsupp/gnatsupp.c
blob: 820252dd4bf0e20e6670438e4974cedbce0edd04 (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.
 */

#include <bsp/gnatcommon.h>

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