diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-03-16 20:06:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-03-16 20:06:04 +0000 |
commit | 7f32fa46438d1f7f5bf4c81aaa966a2b523f3e82 (patch) | |
tree | 8e68555fb8d78249e46e3d957df70d550b1c651c /c/src/lib/libbsp/shared/smp/smp_stub.c | |
parent | 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com> (diff) | |
download | rtems-7f32fa46438d1f7f5bf4c81aaa966a2b523f3e82.tar.bz2 |
2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
* smp/getcpuid.c, smp/smp_stub.c: New files.
Diffstat (limited to 'c/src/lib/libbsp/shared/smp/smp_stub.c')
-rw-r--r-- | c/src/lib/libbsp/shared/smp/smp_stub.c | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/smp/smp_stub.c b/c/src/lib/libbsp/shared/smp/smp_stub.c new file mode 100644 index 0000000000..653e4e037a --- /dev/null +++ b/c/src/lib/libbsp/shared/smp/smp_stub.c @@ -0,0 +1,50 @@ +/* + * 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.com/license/LICENSE. + * + * $Id$ + */ + +#include <rtems.h> +#include <bsp.h> +#include <rtems/bspIo.h> +#include <rtems/bspsmp.h> +#include <stdlib.h> + +void bsp_smp_secondary_cpu_initialize(int cpu) +{ +} + +int bsp_smp_initialize( + int maximum +) +{ + /* return the number of CPUs */ + return 1; +} + +void bsp_smp_broadcast_interrupt(void) +{ +} + +void bsp_smp_broadcast_message( + uint32_t message +) +{ +} + +void bsp_smp_interrupt_cpu( + int cpu +) +{ +} + +void bsp_smp_delay( int max ) +{ +} |