From 4627fcdab1f0ef0bdf068688c210385889290493 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Feb 2014 14:25:29 +0100 Subject: score: Rename bsp_smp_initialize() Rename bsp_smp_initialize() into _CPU_SMP_Initialize() since every CPU port must supply this function. --- cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'cpukit/score/cpu/no_cpu/rtems/score/cpu.h') diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h index 9fdc7fc5a2..e250639aa3 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h @@ -1461,6 +1461,24 @@ CPU_Counter_ticks _CPU_Counter_difference( ); #ifdef RTEMS_SMP + /** + * @brief Performs CPU specific SMP initialization in the context of the main + * processor. + * + * This function is invoked on the main processor by RTEMS during + * initialization. All interrupt stacks are allocated at this point in case + * the CPU port allocates the interrupt stacks. + * + * The CPU port should start secondary processors now. + * + * @param[in] configured_cpu_count The count of processors requested by the + * application configuration. + * + * @return The count of processors available for the application in the system. + * This value is less than or equal to the configured count of processors. + */ + uint32_t _CPU_SMP_Initialize( uint32_t configured_cpu_count ); + /** * @brief Returns the index of the current processor. * -- cgit v1.2.3