Changeset 88d594a in rtems for c/src/exec/score/inline


Ignore:
Timestamp:
05/24/95 21:39:42 (29 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5b9d6ddf
Parents:
bf61e45c
Message:

Fully tested on all in-house targets

Location:
c/src/exec/score/inline
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/inline/rtems/score/watchdog.inl

    rbf61e45c r88d594a  
    258258}
    259259
    260 /*PAGE
    261  *
    262  *  _Watchdog_Get_sync
    263  *
    264  */
    265 
    266 STATIC INLINE Watchdog_Control *_Watchdog_Get_sync( void )
    267 {
    268   return (Watchdog_Control *) _Watchdog_Sync;
    269 }
    270 
    271 /*PAGE
    272  *
    273  *  _Watchdog_Set_sync
    274  *
    275  */
    276 
    277 STATIC INLINE void _Watchdog_Set_sync(
    278   Watchdog_Control *the_watchdog
    279 )
    280 {
    281   _Watchdog_Sync = (Watchdog_Synchronization_pointer) the_watchdog;
    282 }
    283 
    284 /*PAGE
    285  *
    286  *  _Watchdog_Clear_sync
    287  *
    288  */
    289 
    290 STATIC INLINE void _Watchdog_Clear_sync( void )
    291 {
    292   _Watchdog_Sync = NULL;
    293 }
    294 
    295260#endif
    296261/* end of include file */
  • c/src/exec/score/inline/watchdog.inl

    rbf61e45c r88d594a  
    258258}
    259259
    260 /*PAGE
    261  *
    262  *  _Watchdog_Get_sync
    263  *
    264  */
    265 
    266 STATIC INLINE Watchdog_Control *_Watchdog_Get_sync( void )
    267 {
    268   return (Watchdog_Control *) _Watchdog_Sync;
    269 }
    270 
    271 /*PAGE
    272  *
    273  *  _Watchdog_Set_sync
    274  *
    275  */
    276 
    277 STATIC INLINE void _Watchdog_Set_sync(
    278   Watchdog_Control *the_watchdog
    279 )
    280 {
    281   _Watchdog_Sync = (Watchdog_Synchronization_pointer) the_watchdog;
    282 }
    283 
    284 /*PAGE
    285  *
    286  *  _Watchdog_Clear_sync
    287  *
    288  */
    289 
    290 STATIC INLINE void _Watchdog_Clear_sync( void )
    291 {
    292   _Watchdog_Sync = NULL;
    293 }
    294 
    295260#endif
    296261/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.