diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-23 11:33:56 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-23 15:12:53 +0200 |
commit | f4d9ab3e28d28c9ab9ac5a41bf431f2f78975af2 (patch) | |
tree | e63f0c399d7ec890adc2f224da5f1a34a092aef1 /cpukit/rtems/include/rtems/rtems | |
parent | rtems: Create modes implementation header (diff) | |
download | rtems-f4d9ab3e28d28c9ab9ac5a41bf431f2f78975af2.tar.bz2 |
rtems: Create asr implementation header
Move implementation specific parts of asr.h and asr.inl into new header
file asrimpl.h. The asr.h contains now only the application visible
API.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/asr.h | 6 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/asrimpl.h (renamed from cpukit/rtems/inline/rtems/rtems/asr.inl) | 34 |
2 files changed, 20 insertions, 20 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/asr.h b/cpukit/rtems/include/rtems/rtems/asr.h index 6516233328..225b0b9e37 100644 --- a/cpukit/rtems/include/rtems/rtems/asr.h +++ b/cpukit/rtems/include/rtems/rtems/asr.h @@ -145,15 +145,11 @@ typedef struct { /** This defines the bit in the signal set associated with signal 31. */ #define RTEMS_SIGNAL_31 0x80000000 -#ifndef __RTEMS_APPLICATION__ -#include <rtems/rtems/asr.inl> -#endif +/**@}*/ #ifdef __cplusplus } #endif -/**@}*/ - #endif /* end of include file */ diff --git a/cpukit/rtems/inline/rtems/rtems/asr.inl b/cpukit/rtems/include/rtems/rtems/asrimpl.h index 9f42120018..dc7da55dfe 100644 --- a/cpukit/rtems/inline/rtems/rtems/asr.inl +++ b/cpukit/rtems/include/rtems/rtems/asrimpl.h @@ -1,13 +1,9 @@ /** - * @file rtems/rtems/asr.inl + * @file * - * @defgroup ClassicASR ASR Support + * @ingroup ClassicASRImpl * - * @ingroup ClassicRTEMS - * @brief Asynchronous Signal Handler - * - * This include file contains the implemenation of all routines - * associated with the asynchronous signal handler which are inlined. + * @brief Classic ASR Implementation */ /* COPYRIGHT (c) 1989-2008. @@ -18,18 +14,22 @@ * http://www.rtems.com/license/LICENSE. */ -#ifndef _RTEMS_RTEMS_ASR_H -# error "Never use <rtems/rtems/asr.inl> directly; include <rtems/rtems/asr.h> instead." -#endif +#ifndef _RTEMS_RTEMS_ASRIMPL_H +#define _RTEMS_RTEMS_ASRIMPL_H -#ifndef _RTEMS_RTEMS_ASR_INL -#define _RTEMS_RTEMS_ASR_INL +#include <rtems/rtems/asr.h> +#include <rtems/score/isrlevel.h> -#include <rtems/score/isr.h> +#ifdef __cplusplus +extern "C" { +#endif /** - * @addtogroup ClassicASR - * @{ + * @defgroup ClassicASRImpl Classic ASR Implementation + * + * @ingroup ClassicASR + * + * @{ */ /** @@ -118,5 +118,9 @@ RTEMS_INLINE_ROUTINE void _ASR_Post_signals( /**@}*/ +#ifdef __cplusplus +} +#endif + #endif /* end of include file */ |