18 #ifndef _RTEMS_RTEMS_MSGMP_H 19 #define _RTEMS_RTEMS_MSGMP_H 21 #ifndef _RTEMS_RTEMS_MESSAGEIMPL_H 22 # error "Never use <rtems/rtems/msgmp.h> directly; include <rtems/rtems/messageimpl.h> instead." 46 MESSAGE_QUEUE_MP_ANNOUNCE_CREATE = 0,
47 MESSAGE_QUEUE_MP_ANNOUNCE_DELETE = 1,
48 MESSAGE_QUEUE_MP_EXTRACT_PROXY = 2,
49 MESSAGE_QUEUE_MP_RECEIVE_REQUEST = 3,
50 MESSAGE_QUEUE_MP_RECEIVE_RESPONSE = 4,
51 MESSAGE_QUEUE_MP_SEND_REQUEST = 5,
52 MESSAGE_QUEUE_MP_SEND_RESPONSE = 6,
53 MESSAGE_QUEUE_MP_URGENT_REQUEST = 7,
54 MESSAGE_QUEUE_MP_URGENT_RESPONSE = 8,
55 MESSAGE_QUEUE_MP_BROADCAST_REQUEST = 9,
56 MESSAGE_QUEUE_MP_BROADCAST_RESPONSE = 10,
57 MESSAGE_QUEUE_MP_FLUSH_REQUEST = 11,
58 MESSAGE_QUEUE_MP_FLUSH_RESPONSE = 12,
59 MESSAGE_QUEUE_MP_GET_NUMBER_PENDING_REQUEST = 13,
60 MESSAGE_QUEUE_MP_GET_NUMBER_PENDING_RESPONSE = 14
68 rtems_packet_prefix Prefix;
79 #define MESSAGE_QUEUE_MP_PACKET_SIZE \ 80 offsetof(Message_queue_MP_Packet, Buffer.buffer) 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:259
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:543
Watchdog_Interval rtems_interval
Used to manage and manipulate intervals specified by clock ticks.
Definition: types.h:127
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
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:277
Objects_Information _Message_queue_Information
The Classic Message Queue objects information.
rtems_status_code
Classic API Status.
Definition: status.h:43
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:46
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:209
uint32_t rtems_option
Definition: options.h:42
rtems_status_code _Message_queue_MP_Flush(rtems_id id, uint32_t *count)
Issues a remote rtems_message_queue_flush() request.
Definition: msgmp.c:227
Data types needed to manipulate the contents of message buffers.
Definition: coremsg.h:79
Message_queue_MP_Remote_operations
Definition: msgmp.h:45
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:575
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:293
uint32_t Objects_Id
Definition: object.h:80
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
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:243
unsigned size
Definition: tte.h:74
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:66
MPCI Layer Implementation.
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:338