L4Re - L4 Runtime Environment
|
Message item related functions. More...
Enumerations | |
enum | l4_msg_item_consts_t { L4_ITEM_MAP = 8, L4_ITEM_CONT = 1, L4_MAP_ITEM_GRANT = 2, L4_MAP_ITEM_MAP = 0, L4_RCV_ITEM_SINGLE_CAP = L4_ITEM_MAP | 2, L4_RCV_ITEM_LOCAL_ID = 4 } |
Constants for message items. More... | |
Functions | |
l4_umword_t | l4_map_control (l4_umword_t spot, unsigned char cache, unsigned grant) L4_NOTHROW |
Create the first word for a map item for the memory space. More... | |
l4_umword_t | l4_map_obj_control (l4_umword_t spot, unsigned grant) L4_NOTHROW |
Create the first word for a map item for the object space. More... | |
Message item related functions.
Message items are typed items that can be transferred via IPC operations. Message items are also used to specify receive windows for typed items to be received. Message items are placed in the message registers (MRs) of the UTCB of the sending thread. Receive items are placed in the buffer registers (BRs) of the UTCB of the receiving thread.
Message items are usually two-word data structures. The first word denotes the type of the message item (for example a memory flex-page, io flex-page or object flex-page) and the second word contains information depending on the type. There is actually one exception that is a small (one word) receive buffer item for a single capability.
enum l4_msg_item_consts_t |
Constants for message items.
|
inline |
Create the first word for a map item for the memory space.
spot | Hot spot address, used to determine what is actually mapped when send and receive flex page have differing sizes. |
cache | Cacheability hints for memory flex pages. See Cacheability options |
grant | Indicates if it is a map or a grant item. |
Definition at line 672 of file __l4_fpage.h.
Referenced by l4_map_obj_control().
|
inline |
Create the first word for a map item for the object space.
spot | Hot spot address, used to determine what is actually mapped when send and receive flex pages have different size. |
grant | Indicates if it is a map item or a grant item. |
Definition at line 679 of file __l4_fpage.h.
References l4_map_control().
Referenced by L4::Cap_base::snd_base().