summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/modes.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/modes.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/modes.h43
1 files changed, 23 insertions, 20 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/modes.h b/cpukit/rtems/include/rtems/rtems/modes.h
index 6ac7d15773..9a4bf73f91 100644
--- a/cpukit/rtems/include/rtems/rtems/modes.h
+++ b/cpukit/rtems/include/rtems/rtems/modes.h
@@ -1,18 +1,21 @@
/**
* @file rtems/rtems/modes.h
*
- * @brief Constants and Structures Associated with the RTEMS thread and RTEMS_ASR modes
+ * @defgroup ClassicModes Modes
*
- * This include file contains all constants and structures associated
- * with the RTEMS thread and RTEMS_ASR modes.
+ * @ingroup ClassicRTEMS
+ * @brief RTEMS thread and RTEMS_ASR modes
+ *
+ * This include file contains all constants and structures associated
+ * with the RTEMS thread and RTEMS_ASR modes.
*/
-/* COPYRIGHT (c) 1989-2008.
- * On-Line Applications Research Corporation (OAR).
+/* COPYRIGHT (c) 1989-2008.
+ * 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.
+ * 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.
*/
#ifndef _RTEMS_RTEMS_MODES_H
@@ -84,14 +87,14 @@ typedef uint32_t Modes_Control;
#define RTEMS_NO_ASR 0x00000400
/**
- * @brief RTEMS_INTERRUPT_LEVEL
+ * @brief RTEMS_INTERRUPT_LEVEL
*
- * This function returns the processor dependent interrupt
- * level which corresponds to the requested interrupt level.
+ * This function returns the processor dependent interrupt
+ * level which corresponds to the requested interrupt level.
*
- * @note RTEMS supports 256 interrupt levels using the least
- * significant eight bits of MODES.CONTROL. On any
- * particular CPU, fewer than 256 levels may be supported.
+ * @note RTEMS supports 256 interrupt levels using the least
+ * significant eight bits of MODES.CONTROL. On any
+ * particular CPU, fewer than 256 levels may be supported.
*/
#define RTEMS_INTERRUPT_LEVEL( _mode_set ) \
( (_mode_set) & RTEMS_INTERRUPT_MASK )
@@ -104,15 +107,15 @@ typedef uint32_t Modes_Control;
extern const uint32_t rtems_interrupt_mask;
/**
- * @brief Body for RTEMS_INTERRUPT_LEVEL Macro
+ * @brief Body for RTEMS_INTERRUPT_LEVEL Macro
*
- * @param[in] level is the desired interrupt level
+ * @param[in] level is the desired interrupt level
*
- * @return This methods returns a mode with the desired interrupt
- * @a level in the proper bitfield location.
+ * @retval This methods returns a mode with the desired interrupt
+ * @a level in the proper bitfield location.
*
- * @note This variable is used by bindings from languages other than
- * C and C++.
+ * @note This variable is used by bindings from languages other than
+ * C and C++.
*/
Modes_Control rtems_interrupt_level_body(
uint32_t level