summaryrefslogtreecommitdiffstats
path: root/bsps/shared/start
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-19 06:26:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-20 09:49:38 +0200
commit2584f5b2b54b4e67a544492472ce3a90b10a405f (patch)
treed11164ac57b6ad538017b59db444f90b4efccb89 /bsps/shared/start
parentbsps: Move setvec.c to bsps (diff)
downloadrtems-2584f5b2b54b4e67a544492472ce3a90b10a405f.tar.bz2
bsps: Move bspsmp.c to bsps
This patch is a part of the BSP source reorganization. Update #3285.
Diffstat (limited to 'bsps/shared/start')
-rw-r--r--bsps/shared/start/bspsmp-dummy.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/bsps/shared/start/bspsmp-dummy.c b/bsps/shared/start/bspsmp-dummy.c
new file mode 100644
index 0000000000..f2439408a3
--- /dev/null
+++ b/bsps/shared/start/bspsmp-dummy.c
@@ -0,0 +1,35 @@
+/*
+ * 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 )
+{
+}