summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/no_cpu/rtems/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-02-16 11:55:03 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-02-17 09:41:27 +0100
commitc34f94f72df4e88e1c4ea7d7f97f14a9ec6296ef (patch)
treebbd8bc6206b6a23709b39a5b0c0d951512b3b33c /cpukit/score/cpu/no_cpu/rtems/score
parentIMFS: Implement variable length node names (diff)
downloadrtems-c34f94f72df4e88e1c4ea7d7f97f14a9ec6296ef.tar.bz2
score: Add _CPU_SMP_Prepare_start_multitasking()
Update #2268.
Diffstat (limited to 'cpukit/score/cpu/no_cpu/rtems/score')
-rw-r--r--cpukit/score/cpu/no_cpu/rtems/score/cpu.h12
1 files changed, 12 insertions, 0 deletions
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
@@ -1574,6 +1574,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.
*
* An architecture specific method must be used to obtain the index of the