summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/modes.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 09:13:59 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-12 13:25:39 +0100
commitbdd4eb8786a7bac71ea9e95c2b313b0014e77f81 (patch)
tree1f629d20a3b6e57b62aca5d6c8a52cde29f0cdce /cpukit/include/rtems/rtems/modes.h
parentrtems: Move internal structures to asrdata.h (diff)
downloadrtems-bdd4eb8786a7bac71ea9e95c2b313b0014e77f81.tar.bz2
rtems: Remove Modes_Control
Use rtems_mode directly. This is in line with rtems_attribute and rtems_option. Update #3598.
Diffstat (limited to 'cpukit/include/rtems/rtems/modes.h')
-rw-r--r--cpukit/include/rtems/rtems/modes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/include/rtems/rtems/modes.h b/cpukit/include/rtems/rtems/modes.h
index 547ae13e05..4c9f74edba 100644
--- a/cpukit/include/rtems/rtems/modes.h
+++ b/cpukit/include/rtems/rtems/modes.h
@@ -41,7 +41,7 @@ extern "C" {
* The following type defines the control block used to manage
* each a mode set.
*/
-typedef uint32_t Modes_Control;
+typedef uint32_t rtems_mode;
/**
* The following constants define the individual modes and masks
@@ -118,7 +118,7 @@ extern const uint32_t rtems_interrupt_mask;
* @note This variable is used by bindings from languages other than
* C and C++.
*/
-Modes_Control rtems_interrupt_level_body(
+rtems_mode rtems_interrupt_level_body(
uint32_t level
);