Re: l4/sys/syscalls.h: No such file or directory

Valentin Hauner <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi,

On 09/11/2014 02:13 PM, Valentin Hauner wrote:
> What does "everything" from _stext to _end mean?
OK, I've found a snippet in Moe that seems to fit: It's located in
./l4/pkg/moe/server/src/main.cc lines 523 f.

I've adapted it to fit my needs, but the issue is still the same:

> extern char _stext[];
> extern char _end[];
>
> for (unsigned long i = ((unsigned long)_stext & L4_PAGEMASK);
>         i < ((unsigned long)_end & L4_PAGEMASK);
>         i += L4_PAGESIZE)
> {
>    l4_task_map(task_cap, L4RE_THIS_TASK_CAP,
>                           l4_fpage(i, 0, L4_FPAGE_RO),
>                           l4_map_control(i, 0, L4_MAP_ITEM_MAP));
> }

What's wrong here?

Best regards,
Valentin
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.