From c34f94f72df4e88e1c4ea7d7f97f14a9ec6296ef Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 16 Feb 2015 11:55:03 +0100 Subject: score: Add _CPU_SMP_Prepare_start_multitasking() Update #2268. --- cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cpukit/score/cpu/no_cpu/rtems/score') diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h index 0a0cc415ca..c4e838b51a 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h @@ -1573,6 +1573,18 @@ register struct Per_CPU_Control *_CPU_Per_CPU_current asm( "rX" ); */ void _CPU_SMP_Finalize_initialization( uint32_t cpu_count ); + /** + * @brief Prepares a CPU to start multitasking in terms of SMP. + * + * This function is invoked on all processors requested by the application + * during system initialization. + * + * This function will be called after all processors requested by the + * application have been started right before the context switch to the first + * thread takes place. + */ + void _CPU_SMP_Prepare_start_multitasking( void ); + /** * @brief Returns the index of the current processor. * -- cgit v1.2.3