Changeset c34f94f7 in rtems
- Timestamp:
- 02/16/15 10:55:03 (8 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 8d6e6eeb
- Parents:
- a43a3466
- git-author:
- Sebastian Huber <sebastian.huber@…> (02/16/15 10:55:03)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (02/17/15 08:41:27)
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/arm/shared/arm-a9mpcore-smp.c
ra43a3466 rc34f94f7 56 56 } 57 57 58 void _CPU_SMP_Prepare_start_multitasking( void ) 59 { 60 /* Do nothing */ 61 } 62 58 63 void _CPU_SMP_Send_interrupt( uint32_t target_processor_index ) 59 64 { -
c/src/lib/libbsp/powerpc/qoriq/startup/bspsmp.c
ra43a3466 rc34f94f7 229 229 } 230 230 231 void _CPU_SMP_Prepare_start_multitasking(void) 232 { 233 /* Do nothing */ 234 } 235 231 236 void _CPU_SMP_Send_interrupt(uint32_t target_processor_index) 232 237 { -
c/src/lib/libbsp/shared/bspsmp.c
ra43a3466 rc34f94f7 27 27 } 28 28 29 void _CPU_SMP_Prepare_start_multitasking( void ) 30 { 31 } 32 29 33 void _CPU_SMP_Send_interrupt( uint32_t target_processor_index ) 30 34 { -
c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c
ra43a3466 rc34f94f7 87 87 } 88 88 89 void _CPU_SMP_Prepare_start_multitasking( void ) 90 { 91 _CPU_cache_invalidate_entire_instruction(); 92 } 93 89 94 void _CPU_SMP_Send_interrupt(uint32_t target_processor_index) 90 95 { … … 92 97 LEON3_IrqCtrl_Regs->force[target_processor_index] = 1 << LEON3_mp_irq; 93 98 } 94 95 void _LEON3_Start_multitasking(96 Context_Control *heir97 )98 {99 _CPU_cache_invalidate_entire_instruction();100 _CPU_Context_Restart_self( heir );101 } -
cpukit/score/cpu/arm/rtems/score/cpu.h
ra43a3466 rc34f94f7 504 504 505 505 void _CPU_SMP_Finalize_initialization( uint32_t cpu_count ); 506 507 void _CPU_SMP_Prepare_start_multitasking( void ); 506 508 507 509 static inline uint32_t _CPU_SMP_Get_current_processor( void ) -
cpukit/score/cpu/i386/rtems/score/cpu.h
ra43a3466 rc34f94f7 495 495 void _CPU_SMP_Finalize_initialization( uint32_t cpu_count ); 496 496 497 void _CPU_SMP_Prepare_start_multitasking( void ); 498 497 499 uint32_t _CPU_SMP_Get_current_processor( void ); 498 500 -
cpukit/score/cpu/no_cpu/rtems/score/cpu.h
ra43a3466 rc34f94f7 1575 1575 1576 1576 /** 1577 * @brief Prepares a CPU to start multitasking in terms of SMP. 1578 * 1579 * This function is invoked on all processors requested by the application 1580 * during system initialization. 1581 * 1582 * This function will be called after all processors requested by the 1583 * application have been started right before the context switch to the first 1584 * thread takes place. 1585 */ 1586 void _CPU_SMP_Prepare_start_multitasking( void ); 1587 1588 /** 1577 1589 * @brief Returns the index of the current processor. 1578 1590 * -
cpukit/score/cpu/powerpc/rtems/score/cpu.h
ra43a3466 rc34f94f7 1124 1124 void _CPU_SMP_Finalize_initialization( uint32_t cpu_count ); 1125 1125 1126 void _CPU_SMP_Prepare_start_multitasking( void ); 1127 1126 1128 static inline uint32_t _CPU_SMP_Get_current_processor( void ) 1127 1129 { -
cpukit/score/cpu/sparc/rtems/score/cpu.h
ra43a3466 rc34f94f7 1187 1187 void _CPU_SMP_Finalize_initialization( uint32_t cpu_count ); 1188 1188 1189 void _CPU_SMP_Prepare_start_multitasking( void ); 1190 1189 1191 #if defined(__leon__) && !defined(RTEMS_PARAVIRT) 1190 1192 static inline uint32_t _CPU_SMP_Get_current_processor( void ) … … 1198 1200 void _CPU_SMP_Send_interrupt( uint32_t target_processor_index ); 1199 1201 1200 #if defined(__leon__)1201 void _LEON3_Start_multitasking( Context_Control *heir )1202 RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;1203 #define _CPU_Start_multitasking _LEON3_Start_multitasking1204 #endif1205 1206 1202 static inline void _CPU_SMP_Processor_event_broadcast( void ) 1207 1203 { -
cpukit/score/src/threadstartmultitasking.c
ra43a3466 rc34f94f7 63 63 64 64 #if defined(RTEMS_SMP) 65 _CPU_SMP_Prepare_start_multitasking(); 66 65 67 /* 66 68 * The _CPU_Context_Restart_self() implementations usually assume that self -
testsuites/smptests/smpfatal08/init.c
ra43a3466 rc34f94f7 57 57 } 58 58 59 void _CPU_SMP_Prepare_start_multitasking(void) 60 { 61 assert(0); 62 } 63 59 64 #if defined(RTEMS_PARAVIRT) \ 60 65 || (!defined(__leon__) && !defined(__PPC__) && !defined(__arm__)) … … 62 67 { 63 68 return 0; 64 }65 #endif66 67 #if defined(__leon__)68 void _LEON3_Start_multitasking(Context_Control *heir)69 {70 assert(0);71 69 } 72 70 #endif
Note: See TracChangeset
for help on using the changeset viewer.