summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/modes.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 11:25:28 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 15:12:53 +0200
commitb79953cfe90214e5f937b551922edb79ec53cfe8 (patch)
tree95ae60bfe438b3add64044f3b57aec3b07276cd0 /cpukit/rtems/include/rtems/rtems/modes.h
parentrtems: Create attr implementation header (diff)
downloadrtems-b79953cfe90214e5f937b551922edb79ec53cfe8.tar.bz2
rtems: Create modes implementation header
Move implementation specific parts of modes.h and modes.inl into new header file modesimpl.h. The modes.h contains now only the application visible API.
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/modes.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/modes.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/modes.h b/cpukit/rtems/include/rtems/rtems/modes.h
index 9a4bf73f91..7b07c8892f 100644
--- a/cpukit/rtems/include/rtems/rtems/modes.h
+++ b/cpukit/rtems/include/rtems/rtems/modes.h
@@ -21,6 +21,12 @@
#ifndef _RTEMS_RTEMS_MODES_H
#define _RTEMS_RTEMS_MODES_H
+#include <rtems/score/cpu.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @defgroup ClassicModes Modes
*
@@ -30,12 +36,6 @@
*/
/**@{*/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rtems/score/isr.h>
-
/**
* The following type defines the control block used to manage
* each a mode set.
@@ -121,15 +121,11 @@ Modes_Control rtems_interrupt_level_body(
uint32_t level
);
-#ifndef __RTEMS_APPLICATION__
-#include <rtems/rtems/modes.inl>
-#endif
+/**@}*/
#ifdef __cplusplus
}
#endif
-/**@}*/
-
#endif
/* end of include file */