Re: How can a thread map memory to itself
Björn Döbel <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. Bjoern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlPzfjwACgkQP5ijxgQLUNnOpACfV+TjZV55h03ERhT+5/U2+vIu hIwAoI71LlR+yleJ2S998EK5c1ztNa3a =dVZk -----END PGP SIGNATURE-----