summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/coremsgimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-29 10:41:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-02 07:46:14 +0200
commit88e09b983d3860f6560d3d1ef24ae8d122cdca84 (patch)
treee644b707da247b9331d94530157eff52c3d7db6b /cpukit/score/include/rtems/score/coremsgimpl.h
parentscore: _CORE_message_queue_Set_message_priority() (diff)
downloadrtems-88e09b983d3860f6560d3d1ef24ae8d122cdca84.tar.bz2
score: _CORE_message_queue_Insert_message()
Move common code into _CORE_message_queue_Insert_message().
Diffstat (limited to 'cpukit/score/include/rtems/score/coremsgimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/coremsgimpl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/include/rtems/score/coremsgimpl.h b/cpukit/score/include/rtems/score/coremsgimpl.h
index 7edca17306..b6103978e8 100644
--- a/cpukit/score/include/rtems/score/coremsgimpl.h
+++ b/cpukit/score/include/rtems/score/coremsgimpl.h
@@ -430,21 +430,21 @@ void _CORE_message_queue_Seize(
/**
* @brief Insert a message into the message queue.
*
- * This kernel routine inserts the specified message into the
- * message queue. It is assumed that the message has been filled
- * in before this routine is called.
+ * Copies the specified content into the message storage space and then
+ * inserts the message into the message queue according to the submit type.
*
* @param[in] the_message_queue points to the message queue
* @param[in] the_message is the message to enqueue
+ * @param[in] content_source the message content source
+ * @param[in] content_size the message content size in bytes
* @param[in] submit_type determines whether the message is prepended,
* appended, or enqueued in priority order.
- *
- * - INTERRUPT LATENCY:
- * + insert
*/
void _CORE_message_queue_Insert_message(
CORE_message_queue_Control *the_message_queue,
CORE_message_queue_Buffer_control *the_message,
+ const void *content_source,
+ size_t content_size,
CORE_message_queue_Submit_types submit_type
);