source: rtems-schedsim/schedsim/shell/schedsim_smpsimple/scenarios/cpus1_resume_on_primary.scen

Last change on this file 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: 473 bytes
RevLine 
[f40778b]1#
2#  Check suspending self, then resuming on primary CPU
3#
4rtems_init 1
5task_create smp1 5
6# GOAL: 0x0a010001 is heir and executing on CPU 0
[42888e1]7cpus smp1
[f40778b]8# suspend running task
9task_suspend smp1
10# GOAL: 0x09010001 is heir and executing on CPU 0
[42888e1]11cpus IDLE
[f40778b]12# GOAL: 0x09010001 is heir and executing on CPU 0
[42888e1]13cpus IDLE
[f40778b]14# resume suspended task
15task_resume smp1
16# GOAL: 0x0a010001 is heir and executing on CPU 0
[42888e1]17cpus smp1
[f40778b]18# GOAL: 0x0a010001 is heir and executing on CPU 0
[42888e1]19cpus smp1
Note: See TracBrowser for help on using the repository browser.