summaryrefslogtreecommitdiff
path: root/schedsim/shell/schedsim_smpsimple/scenarios/cpus1_priority.scen
blob: fe7bf5cfa7f901365a86d4ad7b67a8cc95c17471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
#  Check increasing and decrease priority self with no change
#
rtems_init 1
task_create smp1 5
task_create smp2 8
dispatch
# GOAL: 0x0a010001 is heir and executing on CPU 0
cpus smp1

task_priority smp1 4
# GOAL: 0x0a010001 is still heir and executing on CPU 0
cpus smp1

task_priority smp1 7
# GOAL: 0x0a010001 is still heir and executing on CPU 0
cpus smp1

task_priority smp1 8
# GOAL: 0x0a010002 is now heir and executing on CPU 0
cpus smp2

task_priority smp1 5
# GOAL: 0x0a010001 is now heir and executing on CPU 0
cpus smp1