summaryrefslogtreecommitdiff
path: root/schedsim/shell/schedsim_smpsimple/scenarios/cpus1_resume_on_primary.scen
blob: df7cf183048e6005a81304a570c87d69846e0107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
#  Check suspending self, then resuming on primary CPU
#
rtems_init 1
task_create smp1 5
# GOAL: 0x0a010001 is heir and executing on CPU 0
cpus smp1
# suspend running task
task_suspend smp1
# GOAL: 0x09010001 is heir and executing on CPU 0
cpus IDLE
# GOAL: 0x09010001 is heir and executing on CPU 0
cpus IDLE
# resume suspended task
task_resume smp1
# GOAL: 0x0a010001 is heir and executing on CPU 0
cpus smp1
# GOAL: 0x0a010001 is heir and executing on CPU 0
cpus smp1