diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-23 11:25:28 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-23 15:12:53 +0200 |
commit | b79953cfe90214e5f937b551922edb79ec53cfe8 (patch) | |
tree | 95ae60bfe438b3add64044f3b57aec3b07276cd0 /cpukit/rtems/inline/rtems/rtems/modes.inl | |
parent | rtems: Create attr implementation header (diff) | |
download | rtems-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 '')
-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 |