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