diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/modesimpl.h (renamed from cpukit/rtems/inline/rtems/rtems/modes.inl) | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/cpukit/rtems/inline/rtems/rtems/modes.inl b/cpukit/rtems/include/rtems/rtems/modesimpl.h index 034032154e..7aa6bcb3f0 100644 --- a/cpukit/rtems/inline/rtems/rtems/modes.inl +++ b/cpukit/rtems/include/rtems/rtems/modesimpl.h @@ -1,8 +1,9 @@ /** - * @file rtems/rtems/modes.inl + * @file * - * This include file contains the static inline implementation of the - * inlined routines in the Mode Handler + * @ingroup ClassicModesImpl + * + * @brief Classic Modes Implementation */ /* COPYRIGHT (c) 1989-2008. @@ -13,16 +14,22 @@ * http://www.rtems.com/license/LICENSE. */ -#ifndef _RTEMS_RTEMS_MODES_H -# error "Never use <rtems/rtems/modes.inl> directly; include <rtems/rtems/modes.h> instead." -#endif +#ifndef _RTEMS_RTEMS_MODESIMPL_H +#define _RTEMS_RTEMS_MODESIMPL_H -#ifndef _RTEMS_RTEMS_MODES_INL -#define _RTEMS_RTEMS_MODES_INL +#include <rtems/rtems/modes.h> +#include <rtems/score/isrlevel.h> + +#ifdef __cplusplus +extern "C" { +#endif /** - * @addtogroup ClassicModes - * @{ + * @defgroup ClassicModesImpl Classic Modes Implementation + * + * @ingroup ClassicModes + * + * @{ */ /** @@ -129,6 +136,10 @@ RTEMS_INLINE_ROUTINE void _Modes_Change ( *out_mode_set = _out_mode; } +#ifdef __cplusplus +} +#endif + /**@}*/ #endif |