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 03/13/14 at 13:13:55

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
RevLine 
[d230d8e]1/**
2 * @file
3 * @ingroup sparc_leon3
4 * @brief Support for gnat/rtems interrupts and exception handling
5 */
6
[41c9282]7/*
8 * Jiri Gaisler, ESA/ESTEC, 17-02-1999.
9 */
10
[52f6502]11#include <bsp/gnatcommon.h>
[41c9282]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
[fbf533f]19__gnat_install_handler (void)
[41c9282]20{
21  __gnat_install_handler_common (0x18, 0x12);
22}
Note: See TracBrowser for help on using the repository browser.