|
L4Re Operating System Framework
Interface and Usage Documentation
|
Empty client side marshalling code. More...
#include <ipc_basics>
Static Public Member Functions | |
| static constexpr int | to_msg_data (char *msg, unsigned offset, unsigned limit, T const &arg) noexcept |
| Write IPC data of arg into UTCB. | |
| static constexpr int | to_msg_items (char *msg, unsigned offset, unsigned limit, T const &arg) noexcept |
| Write IPC send items of arg into UTCB. | |
| static constexpr int | to_msg_buffers (char *brs, unsigned offset, unsigned limit, T const &arg) noexcept |
| Setup receive buffers for object capabilities in UTCB. | |
| static constexpr int | from_msg_data (char *msg, unsigned offset, unsigned limit, T &arg) noexcept |
| Read IPC data for arg from UTCB. | |
| static constexpr int | from_msg_items (char *msg, unsigned offset, unsigned limit, T &arg) noexcept |
| Read IPC return items for arg from UTCB. | |
Empty client side marshalling code.
Used as basis for concrete marshalling code.
Definition at line 193 of file ipc_basics.
|
inlinestaticconstexprnoexcept |
Read IPC data for arg from UTCB.
Called only for output arguments.
| msg | Pointer to first filled UTCB MR | |
| offset | Byte offset into UTCB MRs | |
| limit | Number of bytes available in msg array | |
| [out] | arg | The IPC argument |
| <0 | Error code |
| >=0 | Offset into msg for next IPC argument |
Definition at line 263 of file ipc_basics.
|
inlinestaticconstexprnoexcept |
Read IPC return items for arg from UTCB.
Called only for output arguments.
| msg | Pointer to first filled UTCB MR | |
| offset | Byte offset into UTCB MRs | |
| limit | Number of bytes available in msg array | |
| [out] | arg | The IPC argument |
| <0 | Error code |
| >=0 | Offset into msg for next IPC argument |
Definition at line 282 of file ipc_basics.
|
inlinestaticconstexprnoexcept |
Setup receive buffers for object capabilities in UTCB.
Called only for output arguments.
| brs | Pointer to first usable UTCB BR |
| offset | Byte offset into UTCB BRs |
| limit | Maximum number of bytes available in brs array |
| arg | The IPC argument |
| <0 | Error code |
| >=0 | Offset into brs for next IPC argument |
Definition at line 244 of file ipc_basics.
|
inlinestaticconstexprnoexcept |
Write IPC data of arg into UTCB.
Called only for input arguments.
| msg | Pointer to first usable UTCB MR |
| offset | Byte offset into UTCB MRs |
| limit | Maximum number of bytes available in msg array |
| arg | The IPC argument |
| <0 | Error code |
| >=0 | Offset into msg for next IPC argument |
Definition at line 208 of file ipc_basics.
|
inlinestaticconstexprnoexcept |
Write IPC send items of arg into UTCB.
Called only for input arguments.
| msg | Pointer to first usable UTCB MR |
| offset | Byte offset into UTCB MRs |
| limit | Maximum number of bytes available in msg array |
| arg | The IPC argument |
| <0 | Error code |
| >=0 | Offset into msg for next IPC argument |
Definition at line 226 of file ipc_basics.