25 #include <l4/sys/cxx/ipc_legacy> 27 namespace L4Re {
namespace Util {
45 template<
typename SVR >
62 this_vcon()->vcon_write((
char const *)&m->
mr[2], m->
mr[1]);
80 unsigned size = op >> 16;
94 __builtin_memcpy(&m->
mr[1], buf, bytes);
101 unsigned vcon_read(
char *buf,
unsigned size)
throw();
102 void vcon_write(
const char *buf,
unsigned size)
throw();
112 SVR
const *this_vcon()
const {
return static_cast<SVR
const *
>(
this); }
113 SVR *this_vcon() {
return static_cast<SVR *
>(
this); }
Encapsulation of the message-register block in the UTCB.
Total number of message register (MRs) available.
Vcon attribute structure.
l4_umword_t o_flags
output flags
l4_umword_t mr[L4_UTCB_GENERIC_DATA_SIZE]
Message registers.
Common L4 ABI Data Types.
unsigned words() const
Get the number of untyped words.
Console server template class.
struct l4_utcb_t l4_utcb_t
Opaque type for the UTCB.
l4_msg_regs_t * l4_utcb_mr(void) L4_NOTHROW L4_PURE
Get the message-register block of a UTCB.
int Opcode
Data type for RPC opcodes.
unsigned long l4_umword_t
Unsigned machine word.
l4_umword_t l_flags
local flags
Virtual console interface.
l4_msgtag_t l4_msgtag(long label, unsigned words, unsigned items, unsigned flags) L4_NOTHROW
Create a message tag from the specified values.
l4_umword_t i_flags
input flags
Message tag data structure.