mirror of
https://github.com/drasko/codezero.git
synced 2026-04-23 12:19:05 +02:00
test and thread_demo container compiling, but crashing at runtime
This commit is contained in:
@@ -17,7 +17,7 @@ struct l4lib_global_list global_tasks = {
|
||||
};
|
||||
|
||||
/* Function definitions */
|
||||
void global_add_task(struct l4lib_tcb *task)
|
||||
void l4lib_global_add_task(struct l4lib_tcb *task)
|
||||
{
|
||||
BUG_ON(!list_empty(&task->list));
|
||||
list_insert_tail(&task->list, &global_tasks.list);
|
||||
|
||||
@@ -22,8 +22,6 @@ extern unsigned long lib_utcb_range_size;
|
||||
/* Static variable definitions */
|
||||
struct l4_mutex lib_mutex;
|
||||
|
||||
extern void global_add_task(struct l4lib_tcb *task);
|
||||
|
||||
/* Function definitions */
|
||||
int l4_thread_create(struct task_ids *ids, unsigned int flags,
|
||||
int (*func)(void *), void *arg)
|
||||
|
||||
Reference in New Issue
Block a user