Changeset 145becf in rtems
- Timestamp:
- 05/02/14 13:33:23 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 4d906bda
- Parents:
- e239760
- git-author:
- Sebastian Huber <sebastian.huber@…> (05/02/14 13:33:23)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (05/05/14 06:26:27)
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/include/rtems/score/smpimpl.h
re239760 r145becf 43 43 */ 44 44 #define SMP_MESSAGE_SHUTDOWN UINT32_C(0x1) 45 46 /** 47 * @brief SMP message to request a test handler invocation. 48 * 49 * @see _SMP_Send_message(). 50 */ 51 #define SMP_MESSAGE_TEST UINT32_C(0x2) 45 52 46 53 /** … … 102 109 RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; 103 110 111 typedef void ( *SMP_Test_message_handler )( Per_CPU_Control *cpu_self ); 112 113 extern SMP_Test_message_handler _SMP_Test_message_handler; 114 115 /** 116 * @brief Sets the handler for test messages. 117 * 118 * This handler can be used to test the inter-processor interrupt 119 * implementation. 120 */ 121 static inline void _SMP_Set_test_message_handler( 122 SMP_Test_message_handler handler 123 ) 124 { 125 _SMP_Test_message_handler = handler; 126 } 127 104 128 /** 105 129 * @brief Interrupt handler for inter-processor interrupts. … … 122 146 /* does not continue past here */ 123 147 } 148 149 if ( ( message & SMP_MESSAGE_TEST ) != 0 ) { 150 ( *_SMP_Test_message_handler )( cpu_self ); 151 } 124 152 } 125 153 } -
cpukit/score/src/smp.c
re239760 r145becf 167 167 } 168 168 } 169 170 static void _SMP_Test_message_default_handler( Per_CPU_Control *cpu_self ) 171 { 172 (void) cpu_self; 173 } 174 175 SMP_Test_message_handler _SMP_Test_message_handler = 176 _SMP_Test_message_default_handler; -
testsuites/smptests/Makefile.am
re239760 r145becf 19 19 SUBDIRS += smpfatal07 20 20 SUBDIRS += smpfatal08 21 SUBDIRS += smpipi01 21 22 SUBDIRS += smpload01 22 23 SUBDIRS += smplock01 -
testsuites/smptests/configure.ac
re239760 r145becf 74 74 smpfatal07/Makefile 75 75 smpfatal08/Makefile 76 smpipi01/Makefile 76 77 smpload01/Makefile 77 78 smplock01/Makefile
Note: See TracChangeset
for help on using the changeset viewer.