Re: Flexpage example?

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
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                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.