Rev 171 | Rev 177 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 171 | Rev 173 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | #include <synch/spinlock.h> |
37 | #include <synch/spinlock.h> |
38 | #include <synch/waitq.h> |
38 | #include <synch/waitq.h> |
39 | #include <arch/types.h> |
39 | #include <arch/types.h> |
40 | #include <typedefs.h> |
40 | #include <typedefs.h> |
41 | #include <arch/context.h> |
41 | #include <arch/context.h> |
- | 42 | #include <config.h> |
|
42 | 43 | ||
43 | #define CPU_STACK_SIZE PAGE_SIZE |
44 | #define CPU_STACK_SIZE STACK_SIZE |
44 | 45 | ||
45 | struct cpu { |
46 | struct cpu { |
46 | spinlock_t lock; |
47 | spinlock_t lock; |
47 | context_t saved_context; |
48 | context_t saved_context; |
48 | 49 |