diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-17 14:31:32 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-19 09:59:41 +0100 |
commit | f8ff2a011cad523453cff8208b3dbd82aa66a110 (patch) | |
tree | 85779c8bf17337c0a734460cd50013d87afb7989 /c/src/lib/libbsp/shared | |
parent | score: Rename bsp_smp_initialize() (diff) | |
download | rtems-f8ff2a011cad523453cff8208b3dbd82aa66a110.tar.bz2 |
score: Delete bsp_smp_broadcast_interrupt()
Since the per-CPU SMP lock must be acquired and released to send the
message a single interrupt broadcast operations offers no benefits. If
synchronization is required, then a SMP barrier must be used anyway.
Diffstat (limited to 'c/src/lib/libbsp/shared')
-rw-r--r-- | c/src/lib/libbsp/shared/smp/smp_stub.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/c/src/lib/libbsp/shared/smp/smp_stub.c b/c/src/lib/libbsp/shared/smp/smp_stub.c index b4a9cc3370..037a45ca7e 100644 --- a/c/src/lib/libbsp/shared/smp/smp_stub.c +++ b/c/src/lib/libbsp/shared/smp/smp_stub.c @@ -9,11 +9,7 @@ * http://www.rtems.com/license/LICENSE. */ -#include <rtems.h> -#include <bsp.h> -#include <rtems/bspIo.h> -#include <rtems/bspsmp.h> -#include <stdlib.h> +#include <rtems/score/cpu.h> uint32_t _CPU_SMP_Initialize( uint32_t configured_cpu_count ) { @@ -21,16 +17,6 @@ uint32_t _CPU_SMP_Initialize( uint32_t configured_cpu_count ) return 1; } -void bsp_smp_broadcast_interrupt(void) -{ -} - -void bsp_smp_broadcast_message( - uint32_t message -) -{ -} - void _CPU_SMP_Send_interrupt( uint32_t target_processor_index ) { } |