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