Barrelfish
Data Structures | Macros | Typedefs | Enumerations
ump_impl.h File Reference

User-space messaging (UMP, formerly URPC) data transport implementation. More...

Data Structures

struct  ump_chan_state
 State of a (one-way) UMP channel. More...
 

Macros

#define UMP_MSG_BYTES   64
 
#define DEFAULT_UMP_BUFLEN   (BASE_PAGE_SIZE / 2 / UMP_MSG_BYTES * UMP_MSG_BYTES)
 Default size of a unidirectional UMP message buffer, in bytes.
 
#define UMP_CHAN_STATE_SIZE   ROUND_UP(sizeof(struct ump_chan_state), CACHELINE_BYTES)
 Cache-aligned size of a ump_chan_state struct.
 

Typedefs

typedef uint16_t ump_index_t
 Type used for indices of UMP message slots.
 

Enumerations

Detailed Description

User-space messaging (UMP, formerly URPC) data transport implementation.

Macro Definition Documentation

#define UMP_MSG_BYTES   64

UMP message size is fixed to cache-line size (64 bytes on x86_64). FIXME: this should be different transports, not a compile-time constant

Enumeration Type Documentation

UMP direction