diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-28 14:15:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-05-20 08:54:31 +0200 |
commit | bf867c55377aaa223f92016f32e8e5f8d7063a52 (patch) | |
tree | c65c77fc9dc5b417943d896273d4ec60726a8365 /cpukit/include/rtems/score/smpimpl.h | |
parent | smpipi01: Use per-CPU jobs for IPI flood test (diff) | |
download | rtems-bf867c55377aaa223f92016f32e8e5f8d7063a52.tar.bz2 |
score: Remove unused SMP_MESSAGE_TEST
All uses were replaced by per-processor jobs.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/score/smpimpl.h | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/cpukit/include/rtems/score/smpimpl.h b/cpukit/include/rtems/score/smpimpl.h index 1b7841630b..c0fe7a03e2 100644 --- a/cpukit/include/rtems/score/smpimpl.h +++ b/cpukit/include/rtems/score/smpimpl.h @@ -44,18 +44,11 @@ extern "C" { #define SMP_MESSAGE_SHUTDOWN 0x1UL /** - * @brief SMP message to request a test handler invocation. - * - * @see _SMP_Send_message(). - */ -#define SMP_MESSAGE_TEST 0x2UL - -/** * @brief SMP message to perform per-processor jobs. * * @see _SMP_Send_message(). */ -#define SMP_MESSAGE_PERFORM_JOBS 0x4UL +#define SMP_MESSAGE_PERFORM_JOBS 0x2UL /** * @brief SMP fatal codes. @@ -136,25 +129,6 @@ void _SMP_Start_multitasking_on_secondary_processor( Per_CPU_Control *cpu_self ) RTEMS_NO_RETURN; -typedef void ( *SMP_Test_message_handler )( Per_CPU_Control *cpu_self ); - -extern SMP_Test_message_handler _SMP_Test_message_handler; - -/** - * @brief Sets the handler for test messages. - * - * This handler can be used to test the inter-processor interrupt - * implementation. - * - * @param handler The handler for text messages. - */ -static inline void _SMP_Set_test_message_handler( - SMP_Test_message_handler handler -) -{ - _SMP_Test_message_handler = handler; -} - /** * @brief Interrupts handler for inter-processor interrupts. * @@ -186,10 +160,6 @@ static inline long unsigned _SMP_Inter_processor_interrupt_handler( /* does not continue past here */ } - if ( ( message & SMP_MESSAGE_TEST ) != 0 ) { - ( *_SMP_Test_message_handler )( cpu_self ); - } - if ( ( message & SMP_MESSAGE_PERFORM_JOBS ) != 0 ) { _Per_CPU_Perform_jobs( cpu_self ); } |