source: rtems-schedsim/schedsim/shell/schedsim_smpsimple/scenarios/cpus4_simple_preemption.scen @ 42888e1

Last change on this file since 42888e1 was 42888e1, checked in by Jennifer Averett <jennifer.averett@…>, on 06/03/14 at 12:25:24

schedsim_smpsimple: Add task verification per core to scenario.

  • Property mode set to 100644
File size: 471 bytes
RevLine 
[f40778b]1#
2#  Ensure lowest priority is preempted
3#
4rtems_init 4
[3ad6235]5task_create smp1 7
6task_create smp2 8
7task_create smp3 5
8task_create smp4 6
[f40778b]9# GOAL: want 0x0a010001 - 0x0a010004 as heir and executings
[3ad6235]10# GOAL:   on CPUs 3-0 respectively
[42888e1]11cpus smp4 smp3 smp2 smp1
[f40778b]12# Tasks are created and distributed across CPUs
13task_create smp5 1
[3ad6235]14# GOAL: want 0x0a010005 to be heir on CPU 2
[42888e1]15cpus smp4 smp3 smp5 smp1
[3ad6235]16# GOAL: want 0x0a010005 to be heir AND executing on CPU 2
[42888e1]17cpus smp4 smp3 smp5 smp1
Note: See TracBrowser for help on using the repository browser.