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

Last change on this file since 30aa792 was f40778b, checked in by Joel Sherrill <joel.sherrill@…>, on 05/17/11 at 19:31:12

2011-05-17 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, ChangeLog?, Makefile.am, README, TODO, add_commands.c, config.c, main_current_cpu.c, main_dispatch.c, main_dump_all_cpus.c, main_dump_ready_tasks.c, printheir_executing.c, schedsim.cc, smp_stub.c, wrap_thread_dispatch.c, scenarios/.cvsignore, scenarios/cpus1_mode.expected, scenarios/cpus1_mode.scen, scenarios/cpus1_priority.expected, scenarios/cpus1_priority.scen, scenarios/cpus1_resume_on_primary.expected, scenarios/cpus1_resume_on_primary.scen, scenarios/cpus1_suspend_on_primary.expected, scenarios/cpus1_suspend_on_primary.scen, scenarios/cpus4_mode_case1.expected, scenarios/cpus4_mode_case1.scen, scenarios/cpus4_mode_case2.expected, scenarios/cpus4_mode_case2.scen, scenarios/cpus4_nonpreempt_case1.expected, scenarios/cpus4_nonpreempt_case1.scen, scenarios/cpus4_pick_older.expected, scenarios/cpus4_pick_older.scen, scenarios/cpus4_priority.expected, scenarios/cpus4_priority.scen, scenarios/cpus4_simple_nopreempt.expected, scenarios/cpus4_simple_nopreempt.scen, scenarios/cpus4_simple_preemption.expected, scenarios/cpus4_simple_preemption.scen, scenarios/cpus4_suspend_on_all.expected, scenarios/cpus4_suspend_on_all.scen, scenarios/cpus4_suspend_on_primary.expected, scenarios/cpus4_suspend_on_primary.scen, scenarios/cpus4_suspend_on_secondary.expected, scenarios/cpus4_suspend_on_secondary.scen: New files.
  • Property mode set to 100644
File size: 475 bytes
Line 
1#
2#  Check suspending self, then resuming on primary CPU
3#
4rtems_init 1
5task_create smp1 5
6dispatch
7# GOAL: 0x0a010001 is heir and executing on CPU 0
8cpus
9# suspend running task
10task_suspend smp1
11# GOAL: 0x09010001 is heir and executing on CPU 0
12cpus
13dispatch
14# GOAL: 0x09010001 is heir and executing on CPU 0
15cpus
16# resume suspended task
17task_resume smp1
18# GOAL: 0x0a010001 is heir and executing on CPU 0
19cpus
20dispatch
21# GOAL: 0x0a010001 is heir and executing on CPU 0
22cpus
Note: See TracBrowser for help on using the repository browser.