24 #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY) 25 static bool _CORE_message_queue_Order(
30 const int *left_priority;
33 left_priority = (
const int *) left;
36 return *left_priority <
44 const void *content_source,
51 the_message->
size = content_size;
59 #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY) 68 #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY) 77 _CORE_message_queue_Order
Inlined Routines in the Core Message Handler.
int CORE_message_queue_Submit_types
The modes in which a message may be submitted to a message queue.
static __inline__ void _CORE_message_queue_Copy_buffer(const void *source, void *destination, size_t size)
Copies the source message buffer to the destination message buffer.
uint32_t number_of_pending_messages
static __inline__ void _Chain_Append_unprotected(Chain_Control *the_chain, Chain_Node *the_node)
Appends a node (unprotected).
void _CORE_message_queue_Insert_message(CORE_message_queue_Control *the_message_queue, CORE_message_queue_Buffer *the_message, const void *content_source, size_t content_size, CORE_message_queue_Submit_types submit_type)
Inserts a message into the message queue.
#define CORE_MESSAGE_QUEUE_SEND_REQUEST
Used when appending messages onto a message queue.
size_t size
This member defines the size of this message.
static __inline__ void _Chain_Prepend_unprotected(Chain_Control *the_chain, Chain_Node *the_node)
Prepends a node (unprotected).
size_t buffer[RTEMS_ZERO_LENGTH_ARRAY]
This member contains the actual message.
static __inline__ int _CORE_message_queue_Get_message_priority(const CORE_message_queue_Buffer *the_message)
Gets message priority.
Chain_Control Pending_messages
#define CORE_MESSAGE_QUEUE_URGENT_REQUEST
Used when prepending messages onto a message queue.
The structure is used to organize message buffers of a message queue.
int priority
This member defines the priority of this message.
Control block used to manage each message queue.
static __inline__ void _Chain_Insert_ordered_unprotected(Chain_Control *the_chain, Chain_Node *to_insert, const void *left, Chain_Node_order order)
Inserts a node into the chain according to the order relation.
Chain_Node Node
This member is used to enqueue the buffer in the pending or free buffer queue of a message queue...