Changeset bdd4eb8 in rtems


Ignore:
Timestamp:
Nov 8, 2018, 8:13:59 AM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
395a49e1
Parents:
257cf74
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 08:13:59)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:39)
Message:

rtems: Remove Modes_Control

Use rtems_mode directly. This is in line with rtems_attribute and
rtems_option.

Update #3598.

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/rtems/asrdata.h

    r257cf74 rbdd4eb8  
    4040  rtems_asr_entry   handler;
    4141  /** This field indicates if the task mode the signal will run with. */
    42   Modes_Control     mode_set;
     42  rtems_mode        mode_set;
    4343  /** This field indicates the signal set that is posted. */
    4444  rtems_signal_set  signals_posted;
  • cpukit/include/rtems/rtems/modes.h

    r257cf74 rbdd4eb8  
    4242 *  each a mode set.
    4343 */
    44 typedef uint32_t   Modes_Control;
     44typedef uint32_t   rtems_mode;
    4545
    4646/**
     
    119119 *       C and C++.
    120120 */
    121 Modes_Control rtems_interrupt_level_body(
     121rtems_mode rtems_interrupt_level_body(
    122122  uint32_t   level
    123123);
  • cpukit/include/rtems/rtems/modesimpl.h

    r257cf74 rbdd4eb8  
    4040 */
    4141RTEMS_INLINE_ROUTINE bool _Modes_Mask_changed (
    42   Modes_Control mode_set,
    43   Modes_Control masks
     42  rtems_mode mode_set,
     43  rtems_mode masks
    4444)
    4545{
     
    5454 */
    5555RTEMS_INLINE_ROUTINE bool _Modes_Is_asr_disabled (
    56   Modes_Control mode_set
     56  rtems_mode mode_set
    5757)
    5858{
     
    6767 */
    6868RTEMS_INLINE_ROUTINE bool _Modes_Is_preempt (
    69   Modes_Control mode_set
     69  rtems_mode mode_set
    7070)
    7171{
     
    8080 */
    8181RTEMS_INLINE_ROUTINE bool _Modes_Is_timeslice (
    82   Modes_Control mode_set
     82  rtems_mode mode_set
    8383)
    8484{
     
    9292 */
    9393RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level (
    94   Modes_Control mode_set
     94  rtems_mode mode_set
    9595)
    9696{
     
    105105 */
    106106RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (
    107   Modes_Control mode_set
     107  rtems_mode mode_set
    108108)
    109109{
     
    121121 */
    122122RTEMS_INLINE_ROUTINE void _Modes_Change (
    123   Modes_Control  old_mode_set,
    124   Modes_Control  new_mode_set,
    125   Modes_Control  mask,
    126   Modes_Control *out_mode_set,
    127   Modes_Control *changed
     123  rtems_mode  old_mode_set,
     124  rtems_mode  new_mode_set,
     125  rtems_mode  mask,
     126  rtems_mode *out_mode_set,
     127  rtems_mode *changed
    128128)
    129129{
    130   Modes_Control _out_mode;
     130  rtems_mode _out_mode;
    131131
    132132  _out_mode      =  old_mode_set;
  • cpukit/include/rtems/rtems/types.h

    r257cf74 rbdd4eb8  
    168168}   rtems_time_of_day;
    169169
    170 /**
    171  * @brief Task mode type.
    172  */
    173 typedef Modes_Control rtems_mode;
    174 
    175170/*
    176171 *  MPCI related entries
  • cpukit/rtems/src/modes.c

    r257cf74 rbdd4eb8  
    2727const uint32_t rtems_interrupt_mask = RTEMS_INTERRUPT_MASK;
    2828
    29 Modes_Control rtems_interrupt_level_body(
     29rtems_mode rtems_interrupt_level_body(
    3030  uint32_t   level
    3131)
  • cpukit/rtems/src/signalcatch.c

    r257cf74 rbdd4eb8  
    3737  ASR_Information   *asr;
    3838  rtems_signal_set   signal_set;
    39   Modes_Control      prev_mode;
     39  rtems_mode      prev_mode;
    4040
    4141  (void) action;
  • testsuites/sptests/sp08/init.c

    r257cf74 rbdd4eb8  
    2121rtems_task Init(rtems_task_argument argument);
    2222
    23 #define PRIxModes_Control       PRIx32
    24 #define PRIxrtems_mode          PRIxModes_Control
     23#define PRIxrtems_mode  PRIx32
    2524
    2625#define put_mode( _comment, _output_mode ) \
  • testsuites/sptests/sp47/init.c

    r257cf74 rbdd4eb8  
    1111const char rtems_test_name[] = "SP 47";
    1212
    13 #define PRIXModes_Control       PRIX32
    14 #define PRIXrtems_mode          PRIXModes_Control
     13#define PRIXrtems_mode  PRIX32
    1514
    1615rtems_task test_asr(rtems_task_argument unused);
Note: See TracChangeset for help on using the changeset viewer.