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 Jun 3, 2014 at 12:25:24 PM

schedsim_smpsimple: Add task verification per core to scenario.

  • Property mode set to 100644
File size: 473 bytes
Line 
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
7cpus smp1
8# suspend running task
9task_suspend smp1
10# GOAL: 0x09010001 is heir and executing on CPU 0
11cpus IDLE
12# GOAL: 0x09010001 is heir and executing on CPU 0
13cpus IDLE
14# resume suspended task
15task_resume smp1
16# GOAL: 0x0a010001 is heir and executing on CPU 0
17cpus smp1
18# GOAL: 0x0a010001 is heir and executing on CPU 0
19cpus smp1
Note: See TracBrowser for help on using the repository browser.