summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/asrdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/rtems/asrdata.h')
-rw-r--r--cpukit/include/rtems/rtems/asrdata.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/cpukit/include/rtems/rtems/asrdata.h b/cpukit/include/rtems/rtems/asrdata.h
new file mode 100644
index 0000000000..1068bc2e48
--- /dev/null
+++ b/cpukit/include/rtems/rtems/asrdata.h
@@ -0,0 +1,58 @@
+/**
+ * @file
+ *
+ * @ingroup ClassicASRImpl
+ *
+ * @brief Classic ASR Data Structures
+ */
+
+/* COPYRIGHT (c) 1989-2013.
+ * 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_RTEMS_ASRDATA_H
+#define _RTEMS_RTEMS_ASRDATA_H
+
+#include <rtems/rtems/asr.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @addtogroup ClassicASRImpl
+ *
+ * @{
+ */
+
+/**
+ * The following defines the control structure used to manage
+ * signals. Each thread has a copy of this record.
+ */
+typedef struct {
+ /** This field indicates if are ASRs enabled currently. */
+ bool is_enabled;
+ /** This field indicates if address of the signal handler function. */
+ rtems_asr_entry handler;
+ /** This field indicates if the task mode the signal will run with. */
+ Modes_Control mode_set;
+ /** This field indicates the signal set that is posted. */
+ rtems_signal_set signals_posted;
+ /** This field indicates the signal set that is pending. */
+ rtems_signal_set signals_pending;
+ /** This field indicates if nest level of signals being processed */
+ uint32_t nest_level;
+} ASR_Information;
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+/* end of include file */