RTEMS
5.1
|
MP Packte Handler. More...
Files | |
file | mppkt.h |
Specification for the Packet Handler. | |
Data Structures | |
struct | MP_packet_Prefix |
Macros | |
#define | MP_PACKET_CLASSES_FIRST MP_PACKET_MPCI_INTERNAL |
#define | MP_PACKET_CLASSES_LAST MP_PACKET_SIGNAL |
#define | MP_PACKET_MINIMUM_PACKET_SIZE 64 |
#define | MP_PACKET_MINIMUN_HETERO_CONVERSION ( sizeof( MP_packet_Prefix ) / sizeof( uint32_t ) ) |
Enumerations | |
enum | MP_packet_Classes { MP_PACKET_MPCI_INTERNAL = 0, MP_PACKET_TASKS = 1, MP_PACKET_MESSAGE_QUEUE = 2, MP_PACKET_SEMAPHORE = 3, MP_PACKET_PARTITION = 4, MP_PACKET_REGION = 5, MP_PACKET_EVENT = 6, MP_PACKET_SIGNAL = 7 } |
MP Packte Handler.
This handler encapsulates the primary definition of MPCI packets. This handler defines the part of the packet that is common to all remote operations.
#define MP_PACKET_CLASSES_FIRST MP_PACKET_MPCI_INTERNAL |
This constant defines the first entry in the MP_packet_Classes enumeration.
#define MP_PACKET_CLASSES_LAST MP_PACKET_SIGNAL |
This constant defines the last entry in the MP_packet_Classes enumeration.
#define MP_PACKET_MINIMUM_PACKET_SIZE 64 |
An MPCI must support packets of at least this size.
#define MP_PACKET_MINIMUN_HETERO_CONVERSION ( sizeof( MP_packet_Prefix ) / sizeof( uint32_t ) ) |
The following constant defines the number of uint32_t's in a packet which must be converted to native format in a heterogeneous system. In packets longer than MP_PACKET_MINIMUN_HETERO_CONVERSION uint32_t's, some of the "extra" data may a user message buffer which is not automatically endian swapped.
enum MP_packet_Classes |
The following enumerated type defines the packet classes.