summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/isrlevel.h
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2011-07-15 14:36:37 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2011-07-15 14:36:37 +0000
commitdf00777ccfb2b3584211940398ad6fc79a26f51c (patch)
treec785b2fada4914331066ef7e08caffb26ee419f2 /cpukit/score/include/rtems/score/isrlevel.h
parent2011-07-15 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-df00777ccfb2b3584211940398ad6fc79a26f51c.tar.bz2
2011-07-15 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* score/Makefile.am, score/preinstall.am, score/include/rtems/score/isr.h, score/include/rtems/score/percpu.h: Split isrlevel into its own file to avoid a circular dependancy in smp code. * score/include/rtems/score/isrlevel.h: New file.
Diffstat (limited to 'cpukit/score/include/rtems/score/isrlevel.h')
-rw-r--r--cpukit/score/include/rtems/score/isrlevel.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/isrlevel.h b/cpukit/score/include/rtems/score/isrlevel.h
new file mode 100644
index 0000000000..2bb9e51c15
--- /dev/null
+++ b/cpukit/score/include/rtems/score/isrlevel.h
@@ -0,0 +1,43 @@
+/**
+ * @file rtems/score/isrlevel.h
+ *
+ * This include file defines the ISR Level type. It exists to
+ * simplify include dependencies. It is part of the ISR Handler.
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2011.
+ * 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.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#ifndef _RTEMS_SCORE_ISR_LEVEL_h
+#define _RTEMS_SCORE_ISR_LEVEL_h
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @addtogroup ScoreISR ISR Handler
+ */
+/**@{*/
+
+/**
+ * The following type defines the control block used to manage
+ * the interrupt level portion of the status register.
+ */
+typedef uint32_t ISR_Level;
+
+/**@}*/
+
+#ifdef __cplusplus
+}
+#endif
+#endif
+