diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-05-21 09:40:49 -0500 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-05-23 09:49:42 -0500 |
commit | f965428ac73adf305190cafa9d484134089dd1bf (patch) | |
tree | 26b23cc036712072308b726ccf0b6708c7a0d631 /schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case2.scen | |
parent | shared: Fix bug in cpu checking of dump all cpus method. (diff) | |
download | rtems-schedsim-f965428ac73adf305190cafa9d484134089dd1bf.tar.bz2 |
schedsim_smppriority_affinity: Cleanup scenarios.
Add check of expected threads to cpu commands. Add more documentation and set fix
the expected files.
Diffstat (limited to 'schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case2.scen')
-rw-r--r-- | schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case2.scen | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case2.scen b/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case2.scen index e0ef8c2..546f84b 100644 --- a/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case2.scen +++ b/schedsim/shell/schedsim_smppriority_affinity/scenarios/cpus2_affinity_case2.scen @@ -1,18 +1,11 @@ # -# +# Force Cores such that the first created task +# is on CPU 1 and the second is on CPU 0. # rtems_init 2 -task_create smp1 3 -# GOAL: 0x09010001, 0x0a010001 -# GOAL: on CPUs 0-1 respectively -cpus +task_create smp1 3 -a 2 +task_create smp2 2 -a 1 -task_create smp2 4 -a 2 -# GOAL: 0x09010001, 0x0a010001 +# GOAL: want 0x0a010002 - 0x0a010001 as heir and executings # GOAL: on CPUs 0 -1 respectively -cpus - -dispatch -# GOAL: 0x09010001, 0x0a010001 -# GOAL: on CPUs 0 -1 respectively -cpus +cpus smp2 smp1 |