L4Re Operating System Framework
Interface and Usage Documentation
|
Console server template class. More...
#include <vcon_svr>
Console server template class.
This template uses vcon_write() and vcon_read() to get and deliver data from the implementor.
vcon_read() needs to update the status argument with the L4_vcon_read_stat flags, especially the L4_VCON_READ_STAT_DONE flag to indicate that there's nothing more to read for the other end.
vcon_write() gets the live data from the UTCB. Make sure to copy out the data before using the UTCB again.
The size parameter of both functions is given in bytes.