summaryrefslogtreecommitdiffstats
path: root/bsps/shared/start
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-19 06:26:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-20 09:49:38 +0200
commit5c5b021f518cb90289daa3ca0032aa57f0569e41 (patch)
tree0c8087f75905bd0283acc2000d2d584354c69b26 /bsps/shared/start
parentbsps: Move bspsmp.c to bsps (diff)
downloadrtems-5c5b021f518cb90289daa3ca0032aa57f0569e41.tar.bz2
bsps: Move bspsmpgetcurrentprocessor.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/getcurrentprocessor-zero.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/bsps/shared/start/getcurrentprocessor-zero.c b/bsps/shared/start/getcurrentprocessor-zero.c
new file mode 100644
index 0000000000..f62a807331
--- /dev/null
+++ b/bsps/shared/start/getcurrentprocessor-zero.c
@@ -0,0 +1,15 @@
+/*
+ * 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_Get_current_processor( void )
+{
+ return 0;
+}