37#ifndef _RTEMS_RTEMS_MSGMP_H
38#define _RTEMS_RTEMS_MSGMP_H
40#ifndef _RTEMS_RTEMS_MESSAGEIMPL_H
41# error "Never use <rtems/rtems/msgmp.h> directly; include <rtems/rtems/messageimpl.h> instead."
67 MESSAGE_QUEUE_MP_ANNOUNCE_CREATE = 0,
68 MESSAGE_QUEUE_MP_ANNOUNCE_DELETE = 1,
69 MESSAGE_QUEUE_MP_EXTRACT_PROXY = 2,
70 MESSAGE_QUEUE_MP_RECEIVE_REQUEST = 3,
71 MESSAGE_QUEUE_MP_RECEIVE_RESPONSE = 4,
72 MESSAGE_QUEUE_MP_SEND_REQUEST = 5,
73 MESSAGE_QUEUE_MP_SEND_RESPONSE = 6,
74 MESSAGE_QUEUE_MP_URGENT_REQUEST = 7,
75 MESSAGE_QUEUE_MP_URGENT_RESPONSE = 8,
76 MESSAGE_QUEUE_MP_BROADCAST_REQUEST = 9,
77 MESSAGE_QUEUE_MP_BROADCAST_RESPONSE = 10,
78 MESSAGE_QUEUE_MP_FLUSH_REQUEST = 11,
79 MESSAGE_QUEUE_MP_FLUSH_RESPONSE = 12,
80 MESSAGE_QUEUE_MP_GET_NUMBER_PENDING_REQUEST = 13,
81 MESSAGE_QUEUE_MP_GET_NUMBER_PENDING_RESPONSE = 14
89 rtems_packet_prefix Prefix;
99#define MESSAGE_QUEUE_MP_PACKET_SIZE \
100 offsetof(Message_queue_MP_Packet, buffer)
102static inline bool _Message_queue_MP_Is_remote(
Objects_Id id )
#define RTEMS_ZERO_LENGTH_ARRAY
This constant represents the element count of a zero-length array.
Definition: basedefs.h:1032
uint32_t rtems_option
This type represents a Classic API directive option set.
Definition: options.h:126
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
uint32_t rtems_name
This type represents Classic API object names.
Definition: types.h:226
Objects_Id rtems_id
This type represents RTEMS object identifiers.
Definition: types.h:94
Watchdog_Interval rtems_interval
This type represents clock tick intervals.
Definition: types.h:114
void _Message_queue_MP_Send_object_was_deleted(Thread_Control *the_proxy, Objects_Id mp_id)
_Message_queue_MP_Send_object_was_deleted
Definition: msgmp.c:564
void _Message_queue_Core_message_queue_mp_support(Thread_Control *the_thread, rtems_id id)
Message_queue_Core_message_queue_mp_support.
Definition: msgmp.c:596
rtems_status_code _Message_queue_MP_Receive(rtems_id id, void *buffer, size_t *size, rtems_option option_set, rtems_interval timeout)
Issues a remote rtems_message_queue_receive() request.
Definition: msgmp.c:279
rtems_status_code _Message_queue_MP_Send(rtems_id id, const void *buffer, size_t size)
Issues a remote rtems_message_queue_send() request.
Definition: msgmp.c:297
void _Message_queue_MP_Send_process_packet(Message_queue_MP_Remote_operations operation, Objects_Id message_queue_id, rtems_name name, Objects_Id proxy_id)
_Message_queue_MP_Send_process_packet
Definition: msgmp.c:66
rtems_status_code _Message_queue_MP_Broadcast(rtems_id id, const void *buffer, size_t size, uint32_t *count)
Issues a remote rtems_message_queue_broadcast() request.
Definition: msgmp.c:229
rtems_status_code _Message_queue_MP_Flush(rtems_id id, uint32_t *count)
Issues a remote rtems_message_queue_flush() request.
Definition: msgmp.c:247
rtems_status_code _Message_queue_MP_Urgent(rtems_id id, const void *buffer, size_t size)
Issues a remote rtems_message_queue_urgent() request.
Definition: msgmp.c:313
Message_queue_MP_Remote_operations
Definition: msgmp.h:66
rtems_status_code _Message_queue_MP_Get_number_pending(rtems_id id, uint32_t *count)
Issues a remote rtems_message_queue_get_number_pending() request.
Definition: msgmp.c:263
Objects_Information _Message_queue_Information
The Classic Message Queue objects information.
bool _Objects_MP_Is_remote(Objects_Id id, const Objects_Information *information)
Checks if the object identifier is in the global object identifier cache of the specified object info...
Definition: objectmp.c:368
uint32_t Objects_Id
Definition: object.h:101
This header file provides interfaces of the MPCI Handler which are only used by the implementation.
unsigned size
Definition: tte.h:1