Rev 1178 | Rev 1185 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1178 | Rev 1184 | ||
---|---|---|---|
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 <arch/proc/task.h> |
|
38 | 39 | ||
39 | /** Task structure. */ |
40 | /** Task structure. */ |
40 | struct task { |
41 | struct task { |
41 | SPINLOCK_DECLARE(lock); |
42 | SPINLOCK_DECLARE(lock); |
42 | char *name; |
43 | char *name; |
Line 48... | Line 49... | ||
48 | 49 | ||
49 | /* IPC stuff */ |
50 | /* IPC stuff */ |
50 | answerbox_t answerbox; /**< Communication endpoint */ |
51 | answerbox_t answerbox; /**< Communication endpoint */ |
51 | phone_t phones[IPC_MAX_PHONES]; |
52 | phone_t phones[IPC_MAX_PHONES]; |
52 | atomic_t active_calls; /**< Active asynchronous messages */ |
53 | atomic_t active_calls; /**< Active asynchronous messages */ |
- | 54 | ||
- | 55 | task_arch_t arch; |
|
53 | }; |
56 | }; |
54 | 57 | ||
55 | extern spinlock_t tasks_lock; |
58 | extern spinlock_t tasks_lock; |
56 | extern btree_t tasks_btree; |
59 | extern btree_t tasks_btree; |
57 | 60 |