Rev 1235 | Rev 1460 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1235 | Rev 1358 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | #include <synch/spinlock.h> |
33 | #include <synch/spinlock.h> |
| 34 | #include <adt/btree.h> |
34 | #include <adt/btree.h> |
| 35 | #include <adt/list.h> |
35 | #include <adt/list.h> |
| 36 | #include <ipc/ipc.h> |
36 | #include <ipc/ipc.h> |
| 37 | #include <security/cap.h> |
37 | #include <security/cap.h> |
| 38 | #include <mm/as_arg.h> |
- | |
| 39 | #include <arch/proc/task.h> |
38 | #include <arch/proc/task.h> |
| 40 | 39 | ||
| 41 | /** Task structure. */ |
40 | /** Task structure. */ |
| 42 | struct task { |
41 | struct task { |
| 43 | SPINLOCK_DECLARE(lock); |
42 | SPINLOCK_DECLARE(lock); |
| Line 51... | Line 50... | ||
| 51 | /* IPC stuff */ |
50 | /* IPC stuff */ |
| 52 | answerbox_t answerbox; /**< Communication endpoint */ |
51 | answerbox_t answerbox; /**< Communication endpoint */ |
| 53 | phone_t phones[IPC_MAX_PHONES]; |
52 | phone_t phones[IPC_MAX_PHONES]; |
| 54 | atomic_t active_calls; /**< Active asynchronous messages */ |
53 | atomic_t active_calls; /**< Active asynchronous messages */ |
| 55 | 54 | ||
| 56 | /** Accept argument of SYS_AS_AREA_ACCEPT. */ |
- | |
| 57 | as_area_acptsnd_arg_t accept_arg; |
- | |
| 58 | - | ||
| 59 | task_arch_t arch; /**< Architecture specific task data. */ |
55 | task_arch_t arch; /**< Architecture specific task data. */ |
| 60 | }; |
56 | }; |
| 61 | 57 | ||
| 62 | extern spinlock_t tasks_lock; |
58 | extern spinlock_t tasks_lock; |
| 63 | extern btree_t tasks_btree; |
59 | extern btree_t tasks_btree; |