RTEMS
Files | Classes | Macros | Enumerations
MP Packet Handler

MP Packte Handler. More...

Files

file  mppkt.h
 Specification for the Packet Handler.
 

Classes

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
}
 

Detailed Description

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.

Macro Definition Documentation

◆ MP_PACKET_CLASSES_FIRST

#define MP_PACKET_CLASSES_FIRST   MP_PACKET_MPCI_INTERNAL

This constant defines the first entry in the MP_packet_Classes enumeration.

Definition at line 70 of file mppkt.h.

◆ MP_PACKET_CLASSES_LAST

#define MP_PACKET_CLASSES_LAST   MP_PACKET_SIGNAL

This constant defines the last entry in the MP_packet_Classes enumeration.

Definition at line 75 of file mppkt.h.

◆ MP_PACKET_MINIMUM_PACKET_SIZE

#define MP_PACKET_MINIMUM_PACKET_SIZE   64

An MPCI must support packets of at least this size.

Definition at line 107 of file mppkt.h.

◆ MP_PACKET_MINIMUN_HETERO_CONVERSION

#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.

Definition at line 116 of file mppkt.h.

Enumeration Type Documentation

◆ MP_packet_Classes

The following enumerated type defines the packet classes.

Note
In general, each class corresponds to a manager which supports global operations. Each manager defines the set of supported operations.

Definition at line 56 of file mppkt.h.