diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-12-21 14:36:52 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-02-02 15:01:20 +0100 |
commit | 9480815a222be61214b176836ef2b4ae4155ce84 (patch) | |
tree | 63c96f9a0fb79ead01e6b73d12baaa5ac8cb8378 /testsuites/sptests/spintrcritical08/init.c | |
parent | score: Rename _Watchdog_Realtime_from_*() (diff) | |
download | rtems-9480815a222be61214b176836ef2b4ae4155ce84.tar.bz2 |
score: Introduce new monotonic clock
Rename PER_CPU_WATCHDOG_MONOTONIC to PER_CPU_WATCHDOG_TICKS. Add new
PER_CPU_WATCHDOG_MONOTONIC which is based on the system uptime (measured
by timecounter).
Close #3264.
Diffstat (limited to 'testsuites/sptests/spintrcritical08/init.c')
-rw-r--r-- | testsuites/sptests/spintrcritical08/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spintrcritical08/init.c b/testsuites/sptests/spintrcritical08/init.c index 559a1e421d..aab5701ed4 100644 --- a/testsuites/sptests/spintrcritical08/init.c +++ b/testsuites/sptests/spintrcritical08/init.c @@ -45,7 +45,7 @@ static rtems_timer_service_routine test_release_from_isr( ) { Per_CPU_Control *cpu = _Per_CPU_Get(); - Watchdog_Header *header = &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ]; + Watchdog_Header *header = &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_TICKS ]; Watchdog_Control *watchdog = (Watchdog_Control *) header->first; if ( @@ -55,7 +55,7 @@ static rtems_timer_service_routine test_release_from_isr( ) { Thread_Wait_flags flags = _Thread_Wait_flags_get( thread ); - _Watchdog_Per_CPU_remove_monotonic( watchdog ); + _Watchdog_Per_CPU_remove_ticks( watchdog ); rtems_test_assert( getState() == RATE_MONOTONIC_ACTIVE ); |