summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bspsmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/shared/bspsmp.c')
-rw-r--r--c/src/lib/libbsp/shared/bspsmp.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/bspsmp.c b/c/src/lib/libbsp/shared/bspsmp.c
new file mode 100644
index 0000000000..3dc44b1d3a
--- /dev/null
+++ b/c/src/lib/libbsp/shared/bspsmp.c
@@ -0,0 +1,31 @@
+/*
+ * 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_Send_interrupt( uint32_t target_processor_index )
+{
+}