4.115
Last change
on this file since 6ba15488 was
6ba15488,
checked in by Sebastian Huber <sebastian.huber@…>, on 08/12/13 at 10:34:27
|
smp: Rename _Scheduler_simple_smp_Start_idle()
Rename _Scheduler_simple_smp_Start_idle() to
_Scheduler_SMP_Start_idle().
|
-
Property mode set to
100644
|
File size:
836 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief SMP Scheduler Start Idle Operation |
---|
5 | * |
---|
6 | * @ingroup ScoreSchedulerSMP |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * Copyright (c) 2013 embedded brains GmbH. All rights reserved. |
---|
11 | * |
---|
12 | * embedded brains GmbH |
---|
13 | * Dornierstr. 4 |
---|
14 | * 82178 Puchheim |
---|
15 | * Germany |
---|
16 | * <rtems@embedded-brains.de> |
---|
17 | * |
---|
18 | * The license and distribution terms for this file may be |
---|
19 | * found in the file LICENSE in this distribution or at |
---|
20 | * http://www.rtems.com/license/LICENSE. |
---|
21 | */ |
---|
22 | |
---|
23 | #if HAVE_CONFIG_H |
---|
24 | #include "config.h" |
---|
25 | #endif |
---|
26 | |
---|
27 | #include <rtems/score/schedulersmpimpl.h> |
---|
28 | #include <rtems/score/chainimpl.h> |
---|
29 | |
---|
30 | void _Scheduler_SMP_Start_idle( |
---|
31 | Thread_Control *thread, |
---|
32 | Per_CPU_Control *cpu |
---|
33 | ) |
---|
34 | { |
---|
35 | Scheduler_SMP_Control *self = _Scheduler_SMP_Instance(); |
---|
36 | |
---|
37 | thread->is_scheduled = true; |
---|
38 | thread->cpu = cpu; |
---|
39 | _Chain_Append_unprotected( &self->scheduled, &thread->Object.Node ); |
---|
40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.