TLS and thread_child_tid (Shimada-san)

This commit is contained in:
Balazs Gerofi
2012-05-01 16:43:51 +09:00
parent 8aef73c5aa
commit 033d64a7ae
3 changed files with 23 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ struct vm_regions {
unsigned long brk_start, brk_end;
unsigned long map_start, map_end;
unsigned long stack_start, stack_end;
unsigned long tlsblock_base, tlsblock_limit;
};
struct process_vm {
@@ -45,6 +46,10 @@ struct process {
aal_mc_kernel_context_t ctx;
aal_mc_user_context_t *uctx;
struct thread {
int *clear_child_tid;
} thread;
};
struct process *create_process(unsigned long user_pc);