RTEMS 6.1-rc1
Files | Data Structures | Macros | Enumerations
Multiprocessing (MP) Packet Handler

This group contains the Multiprocessing (MP) Packet Handler implementation. More...

Files

file  mppkt.h
 This header file provides the interfaces of the Multiprocessing (MP) 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
}
 

Detailed Description

This group contains the Multiprocessing (MP) Packet Handler implementation.

This handler encapsulates the primary definition of MPCI packets. This handler defines the part of the packet that is common to all remote operations. It defines the basic packet and provides mechanisms to utilize packets based on this prefix. Packets are the fundamental basis for messages passed between nodes in an MP system.

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.

◆ MP_PACKET_CLASSES_LAST

#define MP_PACKET_CLASSES_LAST   MP_PACKET_SIGNAL

This constant defines the last entry in the MP_packet_Classes enumeration.

◆ MP_PACKET_MINIMUM_PACKET_SIZE

#define MP_PACKET_MINIMUM_PACKET_SIZE   64

An MPCI must support packets of at least this size.

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