|
L4Re Operating System Framework
Interface and Usage Documentation
|
Empty server side marshalling code. More...
#include <ipc_basics>
Static Public Member Functions | |
| static constexpr int | from_svr_data (char *msg, unsigned offset, unsigned limit, T const &arg) noexcept |
| Write IPC data of arg into UTCB. | |
| static constexpr int | from_svr_items (char *msg, unsigned offset, unsigned limit, T const &arg) noexcept |
| Write IPC send items of arg into UTCB. | |
| static constexpr int | reserve_data (char *msg, unsigned offset, unsigned limit, T &arg) noexcept |
| Reserve IPC data bytes in UTCB. | |
| static constexpr int | to_svr_data (char *msg, unsigned offset, unsigned limit, T &arg) noexcept |
| Read IPC data for arg from UTCB. | |
| static constexpr int | to_svr_items (char *msg, unsigned offset, unsigned limit, T &arg) noexcept |
| Read IPC return items for arg from UTCB. | |
Empty server side marshalling code.
Used as basis for concrete marshalling code.
Definition at line 294 of file ipc_basics.
|
inlinestaticconstexprnoexcept |
Write IPC data of arg into UTCB.
Called only for output 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 309 of file ipc_basics.
|
inlinestaticconstexprnoexcept |
Write IPC send items of arg into UTCB.
Called only for output 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 328 of file ipc_basics.
|
inlinestaticconstexprnoexcept |
Reserve IPC data bytes in UTCB.
Called only for output arguments. The argument type may remember the msg pointer if the data is put directly into the UTCB.
| 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 348 of file ipc_basics.
|
inlinestaticconstexprnoexcept |
Read IPC data for arg from UTCB.
Called only for input 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 367 of file ipc_basics.
|
inlinestaticconstexprnoexcept |
Read IPC return items for arg from UTCB.
Called only for input 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 386 of file ipc_basics.