summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_migrate_case1.scen
blob: 0fedf39be9a1dc1937831caaac842155875400a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Create a second task that forces and existing
# task to migrate CPUs at start. 
#
rtems_init 2
task_create smp1 3 
# GOAL: 0x09010001, 0x0a010001
# GOAL:   on CPUs 0-1 respectively
cpus IDLE smp1

task_create smp2 2 -a 2
# GOAL: want 0x09010001, 0x0a010002 as heir and executings
# GOAL:   on CPUs 0 -1 respectively
cpus smp1 smp2

dispatch
# GOAL: want 0x0a010001 - 0x0a010002 as heir and executings
# GOAL:   on CPUs 0 -1 respectively
cpus smp1 smp2