Rev 2504 | Rev 2799 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2504 | Rev 2787 | ||
|---|---|---|---|
| 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> |
|
| 55 | 56 | ||
| 56 | struct thread; |
57 | struct thread; |
| 57 | 58 | ||
| 58 | /** Task structure. */ |
59 | /** Task structure. */ |
| 59 | typedef struct task { |
60 | typedef struct task { |
| Line 105... | Line 106... | ||
| 105 | /** B+tree of futexes referenced by this task. */ |
106 | /** B+tree of futexes referenced by this task. */ |
| 106 | btree_t futexes; |
107 | btree_t futexes; |
| 107 | 108 | ||
| 108 | /** Accumulated accounting. */ |
109 | /** Accumulated accounting. */ |
| 109 | uint64_t cycles; |
110 | uint64_t cycles; |
| - | 111 | ||
| - | 112 | /** Task debugging stuff */ |
|
| - | 113 | task_tdebug_t tdebug; |
|
| 110 | } task_t; |
114 | } task_t; |
| 111 | 115 | ||
| 112 | SPINLOCK_EXTERN(tasks_lock); |
116 | SPINLOCK_EXTERN(tasks_lock); |
| 113 | extern avltree_t tasks_tree; |
117 | extern avltree_t tasks_tree; |
| 114 | 118 | ||