source: rtems/c/src/lib/libbsp/sparc/leon3/gnatsupp/gnatsupp.c @ 52f6502

4.115
Last change on this file since 52f6502 was 52f6502, checked in by Daniel Cederman <cederman@…>, on Mar 13, 2014 at 1:13:55 PM

bsps/sparc: Add common gnat handler function prototype.

Moved prototype for gnat_install_handler and gnat_install_handler_common to common header file. Placed header file in bsp namespace.

  • Property mode set to 100644
File size: 391 bytes
Line 
1/**
2 * @file
3 * @ingroup sparc_leon3
4 * @brief Support for gnat/rtems interrupts and exception handling
5 */
6
7/*
8 * Jiri Gaisler, ESA/ESTEC, 17-02-1999.
9 */
10
11#include <bsp/gnatcommon.h>
12
13/*
14 *  Avoid trap 0x18 which is used by the clock tick, and
15 *  0x12 (UART B interrupt) which is used by the stub.
16 */
17
18void
19__gnat_install_handler (void)
20{
21  __gnat_install_handler_common (0x18, 0x12);
22}
Note: See TracBrowser for help on using the repository browser.