/branches/dynload/uspace/lib/libc/include/loader/pcb.h |
---|
49,6 → 49,11 |
/** Program entry point */ |
entry_point_t entry; |
/** Number of command-line arguments */ |
int argc; |
/** Command-line arguments */ |
char **argv; |
/* |
* ELF-specific data |
*/ |
60,13 → 65,8 |
uintptr_t rtld_bias; |
} pcb_t; |
// FIXME |
#define PCB_ADDRESS 0x6fff0000 |
extern pcb_t *__pcb; |
static inline pcb_t *__pcb_get(void) { |
return (pcb_t *)PCB_ADDRESS; |
} |
#endif |
/** |