diff options
Diffstat (limited to 'spec/score/tq/req/enqueue-priority.yml')
-rw-r--r-- | spec/score/tq/req/enqueue-priority.yml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/spec/score/tq/req/enqueue-priority.yml b/spec/score/tq/req/enqueue-priority.yml index 306d996d..8449230f 100644 --- a/spec/score/tq/req/enqueue-priority.yml +++ b/spec/score/tq/req/enqueue-priority.yml @@ -228,10 +228,10 @@ test-action: | if ( ctx->helping ) { if ( ctx->other_before || ctx->other_after ) { if ( rtems_scheduler_get_processor_maximum() > 2 ) { - AddHelper( ctx->tq_ctx, ctx->tq_ctx->third_scheduler_id ); + AddHelper( ctx->tq_ctx, SCHEDULER_C_ID ); } } else { - AddHelper( ctx->tq_ctx, ctx->tq_ctx->other_scheduler_id ); + AddHelper( ctx->tq_ctx, SCHEDULER_B_ID ); } } @@ -314,17 +314,13 @@ test-prepare: test-setup: brief: null code: | + TQReset( ctx->tq_ctx ); TQSetPriority( ctx->tq_ctx, TQ_BLOCKER_A, PRIO_ULTRA_HIGH ); TQSetPriority( ctx->tq_ctx, TQ_BLOCKER_B, PRIO_LOW ); TQSetPriority( ctx->tq_ctx, TQ_BLOCKER_C, PRIO_VERY_HIGH ); #if defined( RTEMS_SMP ) - TQSetScheduler( - ctx->tq_ctx, - TQ_BLOCKER_D, - ctx->tq_ctx->other_scheduler_id, - PRIO_LOW - ); + TQSetScheduler( ctx->tq_ctx, TQ_BLOCKER_D, SCHEDULER_B_ID, PRIO_LOW ); #endif description: null test-stop: null |