summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smpsimple/scenarios/cpus4_suspend_on_secondary.scen
blob: 9660b7dff645645441d3f4961e2bb2272a917417 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
#  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
dispatch
# GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
# GOAL:   on CPUs 1-4 respectively
cpus
current_cpu 2
task_suspend SELF
# GOAL: Want IDLE 0x09010001 as heir and executing on CPU 2
cpus
dispatch
# GOAL: Want IDLE 0x09010001 as heir and executing on CPU 2
cpus