Changeset 8d0b7d96 in rtems for cpukit/score/inline


Ignore:
Timestamp:
Dec 1, 1995, 10:03:55 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
11ab74e
Parents:
caaa47c
Message:

Insert mode argument to _Watchdog_Insert removed. Now are watchdog timers
are automatically activated upon insertion.

Location:
cpukit/score/inline/rtems/score
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/inline/rtems/score/tod.inl

    rcaaa47c r8d0b7d96  
    6262)
    6363{
    64   _Watchdog_Insert_ticks(
    65     &_TOD_Seconds_watchdog,
    66     ticks,
    67     WATCHDOG_ACTIVATE_NOW
    68   );
     64  _Watchdog_Insert_ticks( &_TOD_Seconds_watchdog, ticks );
    6965}
    7066
  • cpukit/score/inline/rtems/score/watchdog.inl

    rcaaa47c r8d0b7d96  
    116116STATIC INLINE void _Watchdog_Insert_ticks(
    117117  Watchdog_Control      *the_watchdog,
    118   Watchdog_Interval      units,
    119   Watchdog_Insert_modes  insert_mode
     118  Watchdog_Interval      units
    120119)
    121120{
     
    123122  the_watchdog->initial = units;
    124123
    125   _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog, insert_mode );
     124  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );
    126125
    127126}
     
    135134STATIC INLINE void _Watchdog_Insert_seconds(
    136135  Watchdog_Control      *the_watchdog,
    137   Watchdog_Interval      units,
    138   Watchdog_Insert_modes  insert_mode
     136  Watchdog_Interval      units
    139137)
    140138{
     
    142140  the_watchdog->initial = units;
    143141
    144   _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog, insert_mode );
     142  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );
    145143
    146144}
     
    191189  (void) _Watchdog_Remove( the_watchdog );
    192190
    193   _Watchdog_Insert(
    194     &_Watchdog_Ticks_chain,
    195     the_watchdog,
    196     WATCHDOG_ACTIVATE_NOW
    197   );
     191  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );
    198192
    199193}
Note: See TracChangeset for help on using the changeset viewer.