From bf2a53d272107b8b224b1a48694da24d2d042442 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 14 Oct 2017 15:14:53 +0200 Subject: score: Rename watchdog variants Rename PER_CPU_WATCHDOG_RELATIVE in PER_CPU_WATCHDOG_MONOTONIC to highlight the corresponding POSIX CLOCK_MONOTONIC. Rename PER_CPU_WATCHDOG_ABSOLUTE in PER_CPU_WATCHDOG_REALTIME to highlight the corresponding POSIX CLOCK_REALTIME. Update #3117. Update #3182. --- testsuites/sptests/spintrcritical08/init.c | 4 ++-- testsuites/sptests/spintrcritical09/init.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuites') diff --git a/testsuites/sptests/spintrcritical08/init.c b/testsuites/sptests/spintrcritical08/init.c index 8d17feb365..1a7ed2d2e5 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_RELATIVE ]; + Watchdog_Header *header = &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ]; 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_relative( watchdog ); + _Watchdog_Per_CPU_remove_monotonic( watchdog ); rtems_test_assert( getState() == RATE_MONOTONIC_ACTIVE ); diff --git a/testsuites/sptests/spintrcritical09/init.c b/testsuites/sptests/spintrcritical09/init.c index 44eccc7821..87c1c1aab3 100644 --- a/testsuites/sptests/spintrcritical09/init.c +++ b/testsuites/sptests/spintrcritical09/init.c @@ -39,7 +39,7 @@ static rtems_timer_service_routine test_release_from_isr( ) { Per_CPU_Control *cpu_self = _Per_CPU_Get(); - Watchdog_Header *header = &cpu_self->Watchdog.Header[ PER_CPU_WATCHDOG_RELATIVE ]; + Watchdog_Header *header = &cpu_self->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ]; Watchdog_Control *watchdog = (Watchdog_Control *) header->first; if ( -- cgit v1.2.3