RTEMS CPU Kit with SuperCore
Data Structures | Macros | Enumerations
MP Packet Handler

This handler encapsulates the primary definition of MPCI packets. More...

Collaboration diagram for MP Packet Handler:

Data Structures

struct  MP_packet_Prefix
 The following record contains the prefix for every packet passed between nodes in an MP system. More...
 

Macros

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

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
}
 The following enumerated type defines the packet classes. More...
 

Detailed Description

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

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.