diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-01-09 10:36:06 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-01-09 10:36:06 +0000 |
commit | bec7ba52314ce3beb962b6dae7131ff59ce3a76b (patch) | |
tree | d4519d9d6d802ae19767af216538fad1c5029c87 /c/src/lib/libbsp/sparc/leon2/gnatsupp | |
parent | 2006-01-09 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-bec7ba52314ce3beb962b6dae7131ff59ce3a76b.tar.bz2 |
Backport from rtems-4-6-branch.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/gnatsupp')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/gnatsupp/gnatsupp.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/gnatsupp/gnatsupp.c b/c/src/lib/libbsp/sparc/leon2/gnatsupp/gnatsupp.c new file mode 100644 index 0000000000..3836278226 --- /dev/null +++ b/c/src/lib/libbsp/sparc/leon2/gnatsupp/gnatsupp.c @@ -0,0 +1,20 @@ +/* + * + * Support for gnat/rtems interrupts and exception handling. + * Jiri Gaisler, ESA/ESTEC, 17-02-1999. + * + * $Id$ + */ + +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 () +{ + __gnat_install_handler_common (0x18, 0x12); +} |