A comprehensive overhaul on the thread library.

Lots of polishing, organizational changes, bug fixes, error handling etc. are
introduced.

COPY and NEW space thread creation are allowed but not thoroughly tested yet. It
seems they will work best if the lib supports utcb virtual range management
through the mapping.
This commit is contained in:
Bora Sahin
2009-11-12 22:29:41 +02:00
parent 9763296ddc
commit 58959d5fb0
11 changed files with 177 additions and 131 deletions

View File

@@ -12,7 +12,7 @@ int l4_set_stack_params(unsigned long stack_top,
int l4_set_utcb_params(unsigned long utcb_start, unsigned long utcb_end);
int l4_thread_create(struct task_ids *ids, unsigned int flags,
void *(*func)(void *), void *arg);
void l4_thread_exit(void *retval);
int (*func)(void *), void *arg);
void l4_thread_exit(int retval);
#endif /* __LIB_THREAD_H__ */