How can a thread map memory to itself
doebel at os.inf.tu-dresden.de
Tue Aug 19 18:41:35 CEST 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 19.08.2014 18:12, Yuxin Ren wrote:
> Hi All,
> I want to do cap/mem mapping without IPC to another thread. In
> particular, I want a thread to map its own memory or capability to
> itself. How can I achieve this?
You need a capability to the respective task for this. You can always
obtain a capability to your own task object using L4Re::This_task.
With this task capability you can then use the task::map() operation
to map capabilities or memory pages to the respective task.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the l4-hackers