summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/modes.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-01-25 09:27:22 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-01-27 06:01:48 +0100
commitb35ac9901caac823c5aa4aeeb81c4bb2c6bc58fd (patch)
treefe1061be42fa3aa4c18182e1d91c7ec7a83fe7f0 /cpukit/include/rtems/rtems/modes.h
parentheap: Fix _Heap_Area_overhead() (diff)
downloadrtems-b35ac9901caac823c5aa4aeeb81c4bb2c6bc58fd.tar.bz2
rtems: Add "Notes" paragraph header
Place the paragraphs in the same order as the directive documentation in the RTEMS Classic API Guide. Update #3993.
Diffstat (limited to 'cpukit/include/rtems/rtems/modes.h')
-rw-r--r--cpukit/include/rtems/rtems/modes.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/cpukit/include/rtems/rtems/modes.h b/cpukit/include/rtems/rtems/modes.h
index b711b119b6..559029d2da 100644
--- a/cpukit/include/rtems/rtems/modes.h
+++ b/cpukit/include/rtems/rtems/modes.h
@@ -135,15 +135,16 @@ extern "C" {
* @brief Maps the interrupt level to the associated processor-dependent task
* mode interrupt level.
*
- * The Classic API supports 256 interrupt levels using the least significant
- * eight bits of the mode set. On any particular processor variant, fewer than
- * 256 levels may be supported. At least level 0 (all interrupts enabled) and
- * level 1 (interrupts disabled, on most architectures) are supported.
- *
* @param _interrupt_level is the interrupt level to map.
*
* @return Returns the processor-dependent task mode interrupt level associated
* with the interrupt level.
+ *
+ * @par Notes
+ * The Classic API supports 256 interrupt levels using the least significant
+ * eight bits of the mode set. On any particular processor variant, fewer than
+ * 256 levels may be supported. At least level 0 (all interrupts enabled) and
+ * level 1 (interrupts disabled, on most architectures) are supported.
*/
#define RTEMS_INTERRUPT_LEVEL( _interrupt_level ) \
( ( _interrupt_level ) & RTEMS_INTERRUPT_MASK )
@@ -155,6 +156,7 @@ extern "C" {
*
* @brief This task mode constant has the same value as #RTEMS_INTERRUPT_MASK.
*
+ * @par Notes
* This task mode constant is used by bindings from languages other than C and
* C++.
*/
@@ -177,11 +179,12 @@ typedef uint32_t rtems_mode;
* @brief Maps the interrupt level to the associated processor-dependent task
* mode interrupt level.
*
- * This function is used by bindings from languages other than C and C++.
- *
* @param level is the interrupt level to map.
*
* @return Returns RTEMS_INTERRUPT_LEVEL() for the interrupt level.
+ *
+ * @par Notes
+ * This function is used by bindings from languages other than C and C++.
*/
rtems_mode rtems_interrupt_level_body( uint32_t level );