Changeset 89c0313 in rtems for testsuites
- Timestamp:
- 12/21/17 13:31:55 (6 years ago)
- Branches:
- 5, master
- Children:
- 3a4e044
- Parents:
- 0c5d22f
- git-author:
- Sebastian Huber <sebastian.huber@…> (12/21/17 13:31:55)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (02/02/18 14:01:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/sptests/spwatchdog/init.c
r0c5d22f r89c0313 83 83 ISR_LOCK_DEFINE( , lock, "Test" ) 84 84 ISR_lock_Context lock_context; 85 Watchdog_Control *first; 85 86 86 87 _ISR_lock_ISR_disable_and_acquire( &lock, &lock_context ); 88 87 89 ++now; 88 _Watchdog_Tickle( header, now, &lock, &lock_context ); 90 first = _Watchdog_Header_first( header ); 91 92 if ( first != NULL ) { 93 _Watchdog_Tickle( header, first, now, &lock, &lock_context ); 94 } 95 96 _ISR_lock_Release_and_ISR_enable( &lock, &lock_context ); 89 97 _ISR_lock_Destroy( &lock ); 90 98
Note: See TracChangeset
for help on using the changeset viewer.