53 #ifndef _RTEMS_RTEMS_MESSAGE_H 54 #define _RTEMS_RTEMS_MESSAGE_H 128 void ( *storage_free )(
void * );
171 #define RTEMS_MESSAGE_QUEUE_BUFFER( _maximum_message_size ) \ 173 CORE_message_queue_Buffer _buffer; \ 174 char _message[ _maximum_message_size ]; \ 263 size_t max_message_size,
This header file defines types provided by the Classic API.
rtems_status_code rtems_message_queue_delete(rtems_id id)
%
uint32_t rtems_name
This type is used to represent a Classic API object name.
uint32_t rtems_option
This type is used to represent an option set.
rtems_status_code rtems_message_queue_flush(rtems_id id, uint32_t *count)
%
This header file defines the status codes and support functions of the Classic API.
rtems_name name
This member defines the name of the message queue.
rtems_status_code rtems_message_queue_receive(rtems_id id, void *buffer, size_t *size, rtems_option option_set, rtems_interval timeout)
%
rtems_status_code rtems_message_queue_broadcast(rtems_id id, const void *buffer, size_t size, uint32_t *count)
%
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
This header file defines the buffer data structure used by the Message Queue Handler.
This structure defines the configuration of a message queue constructed by rtems_message_queue_constr...
This header file defines attributes provided by the Classic API.
void * storage_area
This member shall point to the message buffer storage area begin.
rtems_status_code rtems_message_queue_get_number_pending(rtems_id id, uint32_t *count)
%
rtems_status_code rtems_message_queue_create(rtems_name name, uint32_t count, size_t max_message_size, rtems_attribute attribute_set, rtems_id *id)
%
uint32_t rtems_attribute
This type is used to represent Classic API attributes.
Watchdog_Interval rtems_interval
This type is used to represent clock tick intervals.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
rtems_status_code rtems_message_queue_ident(rtems_name name, uint32_t node, rtems_id *id)
Identifies a message queue object by the specified object name.
This header file defines options provided by the Classic API.
rtems_status_code rtems_message_queue_construct(const rtems_message_queue_config *config, rtems_id *id)
Constructs a message queue from the specified the message queue configuration.
rtems_status_code rtems_message_queue_urgent(rtems_id id, const void *buffer, size_t size)
%
rtems_attribute attributes
This member defines the attributes of the message queue.
size_t storage_size
This member defines size of the message buffer storage area in bytes.
rtems_status_code rtems_message_queue_send(rtems_id id, const void *buffer, size_t size)
%
size_t maximum_message_size
This member defines the maximum message size supported by the message queue.
uint32_t maximum_pending_messages
This member defines the maximum number of pending messages supported by the message queue...