summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/percpu.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-04-19 11:01:31 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-05-20 08:52:39 +0200
commit85d6e845d2b9c47779cc96438e3aa6e894b4a71a (patch)
tree3425c4ba0cc422f01ff648a37c9cc2ca6b209e77 /cpukit/include/rtems/score/percpu.h
parent8fa14da0025828f052b809225ec295fb02688dea (diff)
downloadrtems-85d6e845d2b9c47779cc96438e3aa6e894b4a71a.tar.bz2
score: Add _Per_CPU_Add_job()
Diffstat (limited to 'cpukit/include/rtems/score/percpu.h')
-rw-r--r--cpukit/include/rtems/score/percpu.h15
1 files changed, 14 insertions, 1 deletions
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 ) */
/*