From 85d6e845d2b9c47779cc96438e3aa6e894b4a71a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 19 Apr 2019 11:01:31 +0200 Subject: score: Add _Per_CPU_Add_job() --- cpukit/include/rtems/score/percpu.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'cpukit/include/rtems/score/percpu.h') diff --git a/cpukit/include/rtems/score/percpu.h b/cpukit/include/rtems/score/percpu.h index eff71c4ec1..85e10fbbaa 100644 --- a/cpukit/include/rtems/score/percpu.h +++ b/cpukit/include/rtems/score/percpu.h @@ -792,12 +792,25 @@ bool _Per_CPU_State_wait_for_non_initial_state( ); /** - * @brief Performs the jobs of the specified processor. + * @brief Performs the jobs of the specified processor in FIFO order. * * @param[in, out] cpu The jobs of this processor will be performed. */ void _Per_CPU_Perform_jobs( Per_CPU_Control *cpu ); +/** + * @brief Adds the job to the tail of the processing list of the specified + * processor. + * + * This function does not send the SMP_MESSAGE_PERFORM_JOBS message the + * specified processor. + * + * @param[in, out] cpu The processor to add the job. + * @param[in, out] job The job. The Per_CPU_Job::context member must be + * initialized by the caller. + */ +void _Per_CPU_Add_job( Per_CPU_Control *cpu, Per_CPU_Job *job ); + #endif /* defined( RTEMS_SMP ) */ /* -- cgit v1.2.3