l4/sys/syscalls.h: No such file or directory
doebel at os.inf.tu-dresden.de
Wed Sep 10 21:34:00 CEST 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 10.09.2014 11:32, Valentin Hauner wrote:
> On 09/08/2014 12:17 AM, Adam Lackorzynski wrote:
>> Your threads page-fault all around. The reason is that I was
>> slightly wrong with my last statement on paging. The pager of the
>> parent task resolves the page-fault however just maps the memory
>> locally to the parent task, so the memory never appears in the
>> child tasks. I guess you have to map the pages yourself. I guess
>> you could just map everything from _stext & L4_PAGEMASK to _end &
>> L4_PAGEMASk to all tasks.
> OK, can you please give me a small example for that to get things
> working for my library?
Are you looking for examples on using the l4_task_map() system call?
Please consider l4/pkg/examples/sys/vmtest and l4/pkg/examples/sys/vcpu.
> The only code that I found on your website that might be relevant
> However, there is syscalls.h included, so it seems to use an
> outdated version of L4Re.
If it has l4env in the URL, please ignore it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
More information about the l4-hackers