/branches/dynload/uspace/app/iloader/include/pcb.h |
---|
58,6 → 58,10 |
uintptr_t rtld_bias; |
} pcb_t; |
static inline __pcb_get(void) { |
return (pcb_t *)PCB_ADDRESS; |
} |
#endif |
/** |
/branches/dynload/uspace/app/iloader/elf_load.c |
---|
101,7 → 101,7 |
pcb_t *pcb; |
void *a; |
pcb = (pcb_t *)PCB_ADDRESS; |
pcb = __pcb_get(); |
a = as_area_create(pcb, sizeof(pcb_t), AS_AREA_READ | AS_AREA_WRITE); |
if (a == (void *)(-1)) { |