summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/include
diff options
context:
space:
mode:
authorDaniel Cederman <cederman@gaisler.com>2014-03-13 14:13:55 +0100
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-24 11:45:44 -0500
commit52f6502876b5c540cb2ca0cd6c87f4e8b96acbcd (patch)
treea25068fd18d6a7042cbea1dc397b240b03f8c59b /c/src/lib/libbsp/sparc/shared/include
parentscore: _Heap_Protection_set_delayed_free_fraction (diff)
downloadrtems-52f6502876b5c540cb2ca0cd6c87f4e8b96acbcd.tar.bz2
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.
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/include')
-rw-r--r--c/src/lib/libbsp/sparc/shared/include/gnatcommon.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/include/gnatcommon.h b/c/src/lib/libbsp/sparc/shared/include/gnatcommon.h
new file mode 100644
index 0000000000..1a04449293
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/shared/include/gnatcommon.h
@@ -0,0 +1,19 @@
+#ifndef __GNATCOMMON_H
+#define __GNATCOMMON_H
+
+/*
+ * Support for gnat/rtems interrupts and exception handling.
+ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void __gnat_install_handler (void);
+void __gnat_install_handler_common (int t1, int t2);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif