summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/rtems/task/req/mode.yml20
1 files changed, 2 insertions, 18 deletions
diff --git a/spec/rtems/task/req/mode.yml b/spec/rtems/task/req/mode.yml
index b80897d4..58914f3d 100644
--- a/spec/rtems/task/req/mode.yml
+++ b/spec/rtems/task/req/mode.yml
@@ -529,9 +529,6 @@ test-header: null
test-includes:
- rtems.h
- string.h
-- rtems/score/percpu.h
-- rtems/score/threaddispatch.h
-- rtems/score/watchdogimpl.h
test-local-includes:
- tx-support.h
test-prepare: |
@@ -598,28 +595,15 @@ test-support: |
static void ExhaustTimeslice( void )
{
- Per_CPU_Control *cpu_self;
- uint32_t ticks;
-
- cpu_self = _Thread_Dispatch_disable();
+ uint32_t ticks;
for (
ticks = 0;
ticks < rtems_configuration_get_ticks_per_timeslice();
++ticks
) {
- uint32_t cpu_index;
-
- for (
- cpu_index = 0;
- cpu_index < rtems_scheduler_get_processor_maximum();
- ++cpu_index
- ) {
- _Watchdog_Tick( _Per_CPU_Get_by_index( cpu_index ) );
- }
+ ClockTick();
}
-
- _Thread_Dispatch_enable( cpu_self );
}
static void CheckMode(