summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/vmeintr.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/vmeintr.h')
-rw-r--r--cpukit/include/rtems/vmeintr.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/cpukit/include/rtems/vmeintr.h b/cpukit/include/rtems/vmeintr.h
new file mode 100644
index 0000000000..74bda9bf08
--- /dev/null
+++ b/cpukit/include/rtems/vmeintr.h
@@ -0,0 +1,59 @@
+/**
+ * @file
+ *
+ * @brief VMEbus Interface Library
+ *
+ * This file is the specification for the VMEbus interface library
+ * which should be provided by all BSPs for VMEbus Single Board
+ * Computers but currently only a few do so.
+ */
+
+/*
+ * COPYRIGHT (c) 1989-1999.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#ifndef _RTEMS_VMEINTR_H
+#define _RTEMS_VMEINTR_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * This defines the mask which is used to determine which
+ * interrupt levels are affected by a call to this package.
+ * The LSB corresponds to VME interrupt 0 and the MSB
+ * to VME interrupt 7.
+ *
+ */
+
+typedef uint8_t VME_interrupt_Mask;
+
+/*
+ * VME_interrupt_Disable
+ *
+ */
+
+void VME_interrupt_Disable (
+ VME_interrupt_Mask mask /* IN */
+);
+
+/*
+ * VME_interrupt_Disable
+ *
+ */
+
+void VME_interrupt_Enable (
+ VME_interrupt_Mask mask /* IN */
+);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* end of include file */