diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-19 06:26:42 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-20 09:49:38 +0200 |
commit | 5c5b021f518cb90289daa3ca0032aa57f0569e41 (patch) | |
tree | 0c8087f75905bd0283acc2000d2d584354c69b26 /bsps/shared/start/getcurrentprocessor-zero.c | |
parent | bsps: Move bspsmp.c to bsps (diff) | |
download | rtems-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/getcurrentprocessor-zero.c')
-rw-r--r-- | bsps/shared/start/getcurrentprocessor-zero.c | 15 |
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; +} |