summaryrefslogtreecommitdiff
path: root/schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_all.scen
blob: 85cc3ffecc195018da6e5b8ba74ceae744bf9b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
#  Check blocking self on secondary CPU
#
rtems_init 4
task_create smp1 5
task_create smp2 6
task_create smp3 7
task_create smp4 8
# GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
# GOAL:   on CPUs 0 - 3 respectively
cpus smp4 smp3 smp2 smp1
task_suspend smp1
task_suspend smp2
task_suspend smp3
task_suspend smp4
# GOAL: want IDLE 0x09010001 - 0x09010004 as heir and executings
# GOAL:   on CPUs 0 - 3 respectively
cpus IDLE IDLE IDLE IDLE