L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
L4::Ipc::Msg::Clnt_noops< T > Struct Template Reference

Empty client side marshalling code. More...

#include <ipc_basics>

Inheritance diagram for L4::Ipc::Msg::Clnt_noops< T >:
Collaboration diagram for L4::Ipc::Msg::Clnt_noops< T >:

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.

Detailed Description

template<typename T>
struct L4::Ipc::Msg::Clnt_noops< T >

Empty client side marshalling code.

Used as basis for concrete marshalling code.

Definition at line 193 of file ipc_basics.

Member Function Documentation

◆ from_msg_data()

template<typename T>
constexpr int L4::Ipc::Msg::Clnt_noops< T >::from_msg_data ( char * msg,
unsigned offset,
unsigned limit,
T & arg )
inlinestaticconstexprnoexcept

Read IPC data for arg from UTCB.

Called only for output arguments.

Parameters
msgPointer to first filled UTCB MR
offsetByte offset into UTCB MRs
limitNumber of bytes available in msg array
[out]argThe IPC argument
Return values
<0Error code
>=0Offset into msg for next IPC argument

Definition at line 263 of file ipc_basics.

◆ from_msg_items()

template<typename T>
constexpr int L4::Ipc::Msg::Clnt_noops< T >::from_msg_items ( char * msg,
unsigned offset,
unsigned limit,
T & arg )
inlinestaticconstexprnoexcept

Read IPC return items for arg from UTCB.

Called only for output arguments.

Parameters
msgPointer to first filled UTCB MR
offsetByte offset into UTCB MRs
limitNumber of bytes available in msg array
[out]argThe IPC argument
Return values
<0Error code
>=0Offset into msg for next IPC argument

Definition at line 282 of file ipc_basics.

◆ to_msg_buffers()

template<typename T>
constexpr int L4::Ipc::Msg::Clnt_noops< T >::to_msg_buffers ( char * brs,
unsigned offset,
unsigned limit,
T const & arg )
inlinestaticconstexprnoexcept

Setup receive buffers for object capabilities in UTCB.

Called only for output arguments.

Parameters
brsPointer to first usable UTCB BR
offsetByte offset into UTCB BRs
limitMaximum number of bytes available in brs array
argThe IPC argument
Return values
<0Error code
>=0Offset into brs for next IPC argument

Definition at line 244 of file ipc_basics.

◆ to_msg_data()

template<typename T>
constexpr int L4::Ipc::Msg::Clnt_noops< T >::to_msg_data ( char * msg,
unsigned offset,
unsigned limit,
T const & arg )
inlinestaticconstexprnoexcept

Write IPC data of arg into UTCB.

Called only for input arguments.

Parameters
msgPointer to first usable UTCB MR
offsetByte offset into UTCB MRs
limitMaximum number of bytes available in msg array
argThe IPC argument
Return values
<0Error code
>=0Offset into msg for next IPC argument

Definition at line 208 of file ipc_basics.

◆ to_msg_items()

template<typename T>
constexpr int L4::Ipc::Msg::Clnt_noops< T >::to_msg_items ( char * msg,
unsigned offset,
unsigned limit,
T const & arg )
inlinestaticconstexprnoexcept

Write IPC send items of arg into UTCB.

Called only for input arguments.

Parameters
msgPointer to first usable UTCB MR
offsetByte offset into UTCB MRs
limitMaximum number of bytes available in msg array
argThe IPC argument
Return values
<0Error code
>=0Offset into msg for next IPC argument

Definition at line 226 of file ipc_basics.


The documentation for this struct was generated from the following file: