Rev 173 | Rev 192 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 173 | Rev 177 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | #ifndef __CPU_H__ |
29 | #ifndef __CPU_H__ |
30 | #define __CPU_H__ |
30 | #define __CPU_H__ |
31 | 31 | ||
32 | #include <arch/cpu.h> |
32 | #include <arch/cpu.h> |
33 | #include <proc/thread.h> |
- | |
34 | #include <proc/task.h> |
- | |
35 | #include <proc/scheduler.h> |
33 | #include <proc/scheduler.h> |
36 | #include <time/clock.h> |
- | |
37 | #include <synch/spinlock.h> |
34 | #include <synch/spinlock.h> |
38 | #include <synch/waitq.h> |
35 | #include <synch/waitq.h> |
39 | #include <arch/types.h> |
36 | #include <arch/types.h> |
40 | #include <typedefs.h> |
37 | #include <typedefs.h> |
41 | #include <arch/context.h> |
38 | #include <arch/context.h> |
42 | #include <config.h> |
39 | #include <config.h> |
- | 40 | #include <list.h> |
|
43 | 41 | ||
44 | #define CPU_STACK_SIZE STACK_SIZE |
42 | #define CPU_STACK_SIZE STACK_SIZE |
45 | 43 | ||
46 | struct cpu { |
44 | struct cpu { |
47 | spinlock_t lock; |
45 | spinlock_t lock; |