Flexpage example?

Adam Lackorzynski adam at os.inf.tu-dresden.de
Sun Jan 11 23:46:05 CET 2015


On Fri Jan 09, 2015 at 19:11:48 +0100, ba_f wrote:
> is there any Flexpage reference example?
> 
> I want to push a buffer, i.e. a pointer and the size of it to another task.

Put it in:

iostream << L4::Ipc::buf_cp_out(pointer, len);

Get it out:

iostream >> L4::Ipc::buf_cp_in(buf, len_of_buf);

Alternatively L4::Ipc::buf_in(pointer, len) without copying, i.e. you
just get the pointer to the data still in the UTCB.


Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the l4-hackers mailing list