Changeset 5c491aef in rtems for cpukit/score/macros


Ignore:
Timestamp:
Dec 20, 1995, 3:39:19 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c64e4ed4
Parents:
4442d21c
Message:

changes remerged after lost in disk crash -- recovered from snapshot, partially recovered working tree, etc

Location:
cpukit/score/macros/rtems/score
Files:
3 edited

Legend:

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

    r4442d21c r5c491aef  
    5252 */
    5353
    54 #define _TOD_Activate( ticks ) \
    55    _Watchdog_Insert_ticks( &_TOD_Seconds_watchdog, \
    56       (ticks), WATCHDOG_ACTIVATE_NOW )
     54#define _TOD_Activate( _ticks ) \
     55   _Watchdog_Insert_ticks( &_TOD_Seconds_watchdog, (_ticks) )
    5756
    5857#endif
  • cpukit/score/macros/rtems/score/tqdata.inl

    r4442d21c r5c491aef  
    4545  ( (_the_thread_queue)->count )
    4646
     47/*PAGE
     48 *
     49 *  _Thread_queue_Enter_critical_section
     50 *
     51 */
     52 
     53#define _Thread_queue_Enter_critical_section( _the_thread_queue ) \
     54  do { \
     55    (_the_thread_queue)->sync = TRUE; \
     56    (_the_thread_queue)->sync_state = THREAD_QUEUE_NOTHING_HAPPENED; \
     57  } while ( 0 )
     58
    4759#endif
    4860/* end of include file */
  • cpukit/score/macros/rtems/score/watchdog.inl

    r4442d21c r5c491aef  
    8585 */
    8686
    87 #define _Watchdog_Insert_ticks( _the_watchdog, _units, _insert_mode ) \
    88   { \
     87#define _Watchdog_Insert_ticks( _the_watchdog, _units ) \
     88  do { \
    8989    (_the_watchdog)->initial = (_units); \
    90     _Watchdog_Insert( &_Watchdog_Ticks_chain, \
    91                         (_the_watchdog), (_insert_mode) ); \
    92   }
     90    _Watchdog_Insert( &_Watchdog_Ticks_chain, (_the_watchdog) ); \
     91  } while ( 0 )
    9392
    9493/*PAGE
     
    9897 */
    9998
    100 #define _Watchdog_Insert_seconds( _the_watchdog, _units, _insert_mode ) \
    101   { \
     99#define _Watchdog_Insert_seconds( _the_watchdog, _units ) \
     100  do { \
    102101    (_the_watchdog)->initial = (_units); \
    103     _Watchdog_Insert( &_Watchdog_Seconds_chain, \
    104                         (_the_watchdog), (_insert_mode) ); \
    105   }
     102    _Watchdog_Insert( &_Watchdog_Seconds_chain, (_the_watchdog) ); \
     103  } while ( 0 )
    106104
    107105/*PAGE
     
    132130   { \
    133131     (void) _Watchdog_Remove( (_the_watchdog) ); \
    134      _Watchdog_Insert( &_Watchdog_Ticks_chain, \
    135                          (_the_watchdog), WATCHDOG_ACTIVATE_NOW ); \
     132     _Watchdog_Insert( &_Watchdog_Ticks_chain, (_the_watchdog) ); \
    136133   }
    137134
Note: See TracChangeset for help on using the changeset viewer.