blob: d2df3a89db4561c1c6efc1b02a63a9f3505b9399 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#
# Check suspending self, then resuming on primary CPU
#
rtems_init 1
task_create smp1 5
dispatch
# GOAL: 0x0a010001 is heir and executing on CPU 0
cpus
# suspend running task
task_suspend smp1
# GOAL: 0x09010001 is heir and executing on CPU 0
cpus
dispatch
# GOAL: 0x09010001 is heir and executing on CPU 0
cpus
# resume suspended task
task_resume smp1
# GOAL: 0x0a010001 is heir and executing on CPU 0
cpus
dispatch
# GOAL: 0x0a010001 is heir and executing on CPU 0
cpus
|