Rev 2787 | Rev 2801 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2787 | Rev 2799 | ||
|---|---|---|---|
| Line 50... | Line 50... | ||
| 50 | #include <arch/context.h> |
50 | #include <arch/context.h> |
| 51 | #include <arch/fpu_context.h> |
51 | #include <arch/fpu_context.h> |
| 52 | #include <arch/cpu.h> |
52 | #include <arch/cpu.h> |
| 53 | #include <mm/tlb.h> |
53 | #include <mm/tlb.h> |
| 54 | #include <proc/scheduler.h> |
54 | #include <proc/scheduler.h> |
| 55 | #include <tdebug/tdebug_type.h> |
- | |
| 56 | 55 | ||
| 57 | struct thread; |
56 | struct thread; |
| 58 | 57 | ||
| 59 | /** Task structure. */ |
58 | /** Task structure. */ |
| 60 | typedef struct task { |
59 | typedef struct task { |
| Line 106... | Line 105... | ||
| 106 | /** B+tree of futexes referenced by this task. */ |
105 | /** B+tree of futexes referenced by this task. */ |
| 107 | btree_t futexes; |
106 | btree_t futexes; |
| 108 | 107 | ||
| 109 | /** Accumulated accounting. */ |
108 | /** Accumulated accounting. */ |
| 110 | uint64_t cycles; |
109 | uint64_t cycles; |
| 111 | - | ||
| 112 | /** Task debugging stuff */ |
- | |
| 113 | task_tdebug_t tdebug; |
- | |
| 114 | } task_t; |
110 | } task_t; |
| 115 | 111 | ||
| 116 | SPINLOCK_EXTERN(tasks_lock); |
112 | SPINLOCK_EXTERN(tasks_lock); |
| 117 | extern avltree_t tasks_tree; |
113 | extern avltree_t tasks_tree; |
| 118 | 114 | ||