Rev 1170 | Rev 1176 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1170 | Rev 1174 | ||
|---|---|---|---|
| Line 36... | Line 36... | ||
| 36 | #include <arch.h> |
36 | #include <arch.h> |
| 37 | #include <panic.h> |
37 | #include <panic.h> |
| 38 | #include <adt/btree.h> |
38 | #include <adt/btree.h> |
| 39 | #include <adt/list.h> |
39 | #include <adt/list.h> |
| 40 | #include <ipc/ipc.h> |
40 | #include <ipc/ipc.h> |
| - | 41 | #include <security/cap.h> |
|
| 41 | #include <memstr.h> |
42 | #include <memstr.h> |
| 42 | #include <print.h> |
43 | #include <print.h> |
| 43 | #include <elf.h> |
44 | #include <elf.h> |
| 44 | 45 | ||
| 45 | 46 | ||
| Line 84... | Line 85... | ||
| 84 | spinlock_initialize(&ta->lock, "task_ta_lock"); |
85 | spinlock_initialize(&ta->lock, "task_ta_lock"); |
| 85 | list_initialize(&ta->th_head); |
86 | list_initialize(&ta->th_head); |
| 86 | ta->as = as; |
87 | ta->as = as; |
| 87 | ta->name = name; |
88 | ta->name = name; |
| 88 | 89 | ||
| - | 90 | ta->capabilities = 0; |
|
| 89 | 91 | ||
| 90 | ipc_answerbox_init(&ta->answerbox); |
92 | ipc_answerbox_init(&ta->answerbox); |
| 91 | for (i=0; i < IPC_MAX_PHONES;i++) |
93 | for (i=0; i < IPC_MAX_PHONES;i++) |
| 92 | ipc_phone_init(&ta->phones[i]); |
94 | ipc_phone_init(&ta->phones[i]); |
| 93 | if (ipc_phone_0) |
95 | if (ipc_phone_0) |