summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-11 09:31:35 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-11 17:05:10 +0100
commitbb31cf2455be0cef55d71871a10033e85b141db4 (patch)
tree02e5d5bb347da6d28e3b525e8f34d323e2e5976f
parent6d72776ca832b8efd12a133da94aae09062667f2 (diff)
testsuites/validation/tc-timecounter-get.c
-rw-r--r--testsuites/validation/tc-timecounter-get.c34
1 files changed, 1 insertions, 33 deletions
diff --git a/testsuites/validation/tc-timecounter-get.c b/testsuites/validation/tc-timecounter-get.c
index a7f65e95ae..7ab746ab86 100644
--- a/testsuites/validation/tc-timecounter-get.c
+++ b/testsuites/validation/tc-timecounter-get.c
@@ -179,8 +179,6 @@ static void ActionRealtime( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_realtime( &ts );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionRealtimeBintime( void *arg )
@@ -192,8 +190,6 @@ static void ActionRealtimeBintime( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_realtime_bintime( &bt );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionRealtimeTimeval( void *arg )
@@ -205,8 +201,6 @@ static void ActionRealtimeTimeval( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_realtime_timeval( &tv );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionMonotonic( void *arg )
@@ -218,8 +212,6 @@ static void ActionMonotonic( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_monotonic( &ts );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionMonotonicBintime( void *arg )
@@ -231,8 +223,6 @@ static void ActionMonotonicBintime( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_monotonic_bintime( &bt );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionMonotonicSbintime( void *arg )
@@ -243,8 +233,6 @@ static void ActionMonotonicSbintime( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
(void) rtems_clock_get_monotonic_sbintime();
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionMonotonicTimeval( void *arg )
@@ -256,8 +244,6 @@ static void ActionMonotonicTimeval( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_monotonic_timeval( &tv );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionCoarseRealtime( void *arg )
@@ -269,8 +255,6 @@ static void ActionCoarseRealtime( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_realtime_coarse( &ts );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionCoarseRealtimeBintime( void *arg )
@@ -282,8 +266,6 @@ static void ActionCoarseRealtimeBintime( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_realtime_coarse_bintime( &bt );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionCoarseRealtimeTimeval( void *arg )
@@ -295,8 +277,6 @@ static void ActionCoarseRealtimeTimeval( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_realtime_coarse_timeval( &tv );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionCoarseMonotonic( void *arg )
@@ -308,8 +288,6 @@ static void ActionCoarseMonotonic( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_monotonic_coarse( &ts );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionCoarseMonotonicBintime( void *arg )
@@ -321,8 +299,6 @@ static void ActionCoarseMonotonicBintime( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_monotonic_coarse_bintime( &bt );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionCoarseMonotonicTimeval( void *arg )
@@ -334,8 +310,6 @@ static void ActionCoarseMonotonicTimeval( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_monotonic_coarse_timeval( &tv );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionBootTime( void *arg )
@@ -347,8 +321,6 @@ static void ActionBootTime( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_boot_time( &ts );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionBootTimeBintime( void *arg )
@@ -360,8 +332,6 @@ static void ActionBootTimeBintime( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_boot_time_bintime( &bt );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void ActionBootTimeTimeval( void *arg )
@@ -373,8 +343,6 @@ static void ActionBootTimeTimeval( void *arg )
tc->state = STATE_GET_TIMECOUNT_BEFORE;
rtems_clock_get_boot_time_timeval( &tv );
tc->state = STATE_GET_TIMECOUNT_AFTER;
-
- T_interrupt_test_busy_wait_for_interrupt();
}
static void CallTimcounterWindupTwice( const Timecounter *tc )
@@ -383,7 +351,7 @@ static void CallTimcounterWindupTwice( const Timecounter *tc )
/*
* Make sure that tc_windup() was called at least twice to increment the
- * generation number for both timehands.
+ * generation number for * both timehands.
*/
_Timecounter_Acquire( &lock_context );