mirror of
https://github.com/drasko/codezero.git
synced 2026-02-14 02:43:25 +01:00
l4_exit() works with a reasonable sched_die_sync()
Next: Killing other tasks more cleanly, and waiting on children
This commit is contained in:
@@ -144,8 +144,8 @@ int init_pager(struct pager *pager,
|
||||
page_align_up(pager->memsize),
|
||||
MAP_USR_DEFAULT_FLAGS, TASK_PGD(task));
|
||||
|
||||
/* Move capability list from dummy to task's cap list */
|
||||
cap_list_move(&task->cap_list, ¤t->cap_list);
|
||||
/* Move capability list from dummy to task's space cap list */
|
||||
cap_list_move(&task->space->cap_list, ¤t->cap_list);
|
||||
|
||||
/* Initialize task scheduler parameters */
|
||||
sched_init_task(task, TASK_PRIO_PAGER);
|
||||
|
||||
Reference in New Issue
Block a user