Rev 75 | Rev 173 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 75 | Rev 171 | ||
---|---|---|---|
Line 38... | Line 38... | ||
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 | 42 | ||
43 | #define CPU_STACK_SIZE (4096) |
43 | #define CPU_STACK_SIZE PAGE_SIZE |
44 | 44 | ||
45 | struct cpu { |
45 | struct cpu { |
46 | spinlock_t lock; |
46 | spinlock_t lock; |
47 | context_t saved_context; |
47 | context_t saved_context; |
48 | 48 |