From 5b0d2c1965e1dab2915231866aaa5623ced66330 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 3 Mar 2016 13:37:14 +0100 Subject: score: Add _SMP_Before_multitasking_action() The use case for this is the Cortex-A9 MPCore which has per-processor registers (only accessible by a particular processor) for the global timer used by the clock driver. This might be useful for other drivers as well. Update #2554. --- cpukit/score/include/rtems/score/percpu.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/score/include/rtems/score/percpu.h') diff --git a/cpukit/score/include/rtems/score/percpu.h b/cpukit/score/include/rtems/score/percpu.h index 19f46d2725..39be1e3367 100644 --- a/cpukit/score/include/rtems/score/percpu.h +++ b/cpukit/score/include/rtems/score/percpu.h @@ -360,6 +360,14 @@ typedef struct Per_CPU_Control { */ Per_CPU_State state; + /** + * @brief Action to be executed by this processor in the + * SYSTEM_STATE_BEFORE_MULTITASKING state on behalf of the boot processor. + * + * @see _SMP_Before_multitasking_action(). + */ + Atomic_Uintptr before_multitasking_action; + /** * @brief Indicates if the processor has been successfully started via * _CPU_SMP_Start_processor(). -- cgit v1.2.3