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