bsps: Move bspsmp.c to bsps

This patch is a part of the BSP source reorganization.

Update #3285.
This commit is contained in:
Sebastian Huber
2018-04-19 06:26:03 +02:00
parent bc010a8d48
commit 2584f5b2b5
4 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ librtemsbsp_a_SOURCES += console/console.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
if HAS_SMP
librtemsbsp_a_SOURCES += ../../shared/bspsmp.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspsmp-dummy.c
endif
include $(top_srcdir)/../../../../automake/local.am

View File

@@ -1,35 +0,0 @@
/*
* RTEMS SMP Support for Single Core
*
* COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
#include <rtems/score/cpu.h>
uint32_t _CPU_SMP_Initialize( void )
{
/* return the number of CPUs */
return 1;
}
bool _CPU_SMP_Start_processor( uint32_t cpu_index )
{
return true;
}
void _CPU_SMP_Finalize_initialization( uint32_t cpu_count )
{
}
void _CPU_SMP_Prepare_start_multitasking( void )
{
}
void _CPU_SMP_Send_interrupt( uint32_t target_processor_index )
{
}

View File

@@ -58,7 +58,7 @@ librtemsbsp_a_SOURCES += ../shared/irq/bsp_isr_handler.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
if HAS_SMP
librtemsbsp_a_SOURCES += ../../shared/bspsmp.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspsmp-dummy.c
librtemsbsp_a_SOURCES += ../../shared/bspsmpgetcurrentprocessor.c
endif

View File

@@ -155,7 +155,7 @@ librtemsbsp_a_SOURCES += ../shared/drvmgr/leon2_amba_bus.c
librtemsbsp_a_SOURCES += ../shared/drvmgr/get_resarray_count.c
if HAS_SMP
librtemsbsp_a_SOURCES += ../../shared/bspsmp.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspsmp-dummy.c
librtemsbsp_a_SOURCES += ../../shared/bspsmpgetcurrentprocessor.c
endif