source:
rtems/c/src/lib/libbsp/shared/bspsmp.c
@
c34f94f7
Last change on this file since c34f94f7 was c34f94f7, checked in by Sebastian Huber <sebastian.huber@…>, on 02/16/15 at 10:55:03 | |
---|---|
|
|
File size: 670 bytes |
Rev | Line | |
---|---|---|
[7f32fa4] | 1 | /* |
2 | * RTEMS SMP Support for Single Core | |
3 | * | |
4 | * COPYRIGHT (c) 1989-2011. | |
5 | * On-Line Applications Research Corporation (OAR). | |
6 | * | |
7 | * The license and distribution terms for this file may be | |
8 | * found in the file LICENSE in this distribution or at | |
[c499856] | 9 | * http://www.rtems.org/license/LICENSE. |
[7f32fa4] | 10 | */ |
11 | ||
[f8ff2a0] | 12 | #include <rtems/score/cpu.h> |
[7f32fa4] | 13 | |
[53e008b] | 14 | uint32_t _CPU_SMP_Initialize( void ) |
[7f32fa4] | 15 | { |
16 | /* return the number of CPUs */ | |
17 | return 1; | |
18 | } | |
19 | ||
[53e008b] | 20 | bool _CPU_SMP_Start_processor( uint32_t cpu_index ) |
21 | { | |
22 | return true; | |
23 | } | |
24 | ||
25 | void _CPU_SMP_Finalize_initialization( uint32_t cpu_count ) | |
26 | { | |
27 | } | |
28 | ||
[c34f94f7] | 29 | void _CPU_SMP_Prepare_start_multitasking( void ) |
30 | { | |
31 | } | |
32 | ||
[ca63ae2] | 33 | void _CPU_SMP_Send_interrupt( uint32_t target_processor_index ) |
[7f32fa4] | 34 | { |
35 | } |
Note: See TracBrowser
for help on using the repository browser.