summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/smp.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-02 15:33:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-05 08:26:27 +0200
commit145becf0759d39d7779760af8f1e11d623997938 (patch)
tree104e027282b896e3cf1a35bfcaecd0a6bf25505c /cpukit/score/src/smp.c
parentscore: SMP_FATAL_SCHEDULER_WITHOUT_PROCESSORS (diff)
downloadrtems-145becf0759d39d7779760af8f1e11d623997938.tar.bz2
score: Add SMP test message handler
This handler can be used to test the inter-processor interrupt implementation.
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/smp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c
index 34db46ad1e..3094fe31f8 100644
--- a/cpukit/score/src/smp.c
+++ b/cpukit/score/src/smp.c
@@ -166,3 +166,11 @@ void _SMP_Broadcast_message( uint32_t message )
}
}
}
+
+static void _SMP_Test_message_default_handler( Per_CPU_Control *cpu_self )
+{
+ (void) cpu_self;
+}
+
+SMP_Test_message_handler _SMP_Test_message_handler =
+ _SMP_Test_message_default_handler;