Rev 1171 | Rev 1288 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1171 | Rev 1184 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | */ |
27 | */ |
28 | 28 | ||
29 | #ifndef __THREAD_H__ |
29 | #ifndef __THREAD_H__ |
30 | #define __THREAD_H__ |
30 | #define __THREAD_H__ |
31 | 31 | ||
32 | #include <arch/thread.h> |
32 | #include <arch/proc/thread.h> |
33 | #include <synch/spinlock.h> |
33 | #include <synch/spinlock.h> |
34 | #include <arch/context.h> |
34 | #include <arch/context.h> |
35 | #include <fpu_context.h> |
35 | #include <fpu_context.h> |
36 | #include <arch/types.h> |
36 | #include <arch/types.h> |
37 | #include <typedefs.h> |
37 | #include <typedefs.h> |
Line 115... | Line 115... | ||
115 | __u64 ticks; /**< Ticks before preemption. */ |
115 | __u64 ticks; /**< Ticks before preemption. */ |
116 | 116 | ||
117 | int priority; /**< Thread's priority. Implemented as index to CPU->rq */ |
117 | int priority; /**< Thread's priority. Implemented as index to CPU->rq */ |
118 | __u32 tid; /**< Thread ID. */ |
118 | __u32 tid; /**< Thread ID. */ |
119 | 119 | ||
120 | ARCH_THREAD_DATA; /**< Architecture-specific data. */ |
120 | thread_arch_t arch; /**< Architecture-specific data. */ |
121 | 121 | ||
122 | __u8 *kstack; /**< Thread's kernel stack. */ |
122 | __u8 *kstack; /**< Thread's kernel stack. */ |
123 | }; |
123 | }; |
124 | 124 | ||
125 | /** Thread list lock. |
125 | /** Thread list lock. |