summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/bspsmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/bspsmp.h')
-rw-r--r--cpukit/score/include/rtems/bspsmp.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/cpukit/score/include/rtems/bspsmp.h b/cpukit/score/include/rtems/bspsmp.h
index e318ccadec..e1ef4882d5 100644
--- a/cpukit/score/include/rtems/bspsmp.h
+++ b/cpukit/score/include/rtems/bspsmp.h
@@ -50,21 +50,24 @@ extern "C" {
#ifndef ASM
+
/**
- * @brief Initialize secondary CPUs.
+ * @brief Performs BSP 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.
*
- * This method is invoked by RTEMS during initialization to bring the
- * secondary CPUs out of reset.
+ * The BSP may start secondary processors now.
*
- * @param [in] maximum is the maximum number of CPU cores that RTEMS
- * can handle
+ * @param[in] configured_cpu_count The count of processors requested by the
+ * application configuration.
*
- * @retval This method returns the number of cores available in the
- * system.
+ * @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.
*/
-int bsp_smp_initialize(
- int maximum
-);
+uint32_t bsp_smp_initialize( uint32_t configured_cpu_count );
/**
* @brief Obtain current CPU index.