Rev 1 | Rev 20 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 16 | ||
---|---|---|---|
Line 66... | Line 66... | ||
66 | cpu_arch_t arch; |
66 | cpu_arch_t arch; |
67 | 67 | ||
68 | __u8 *stack; |
68 | __u8 *stack; |
69 | }; |
69 | }; |
70 | 70 | ||
- | 71 | /* |
|
- | 72 | * read/write by associated CPU |
|
- | 73 | * read only by other CPUs |
|
- | 74 | */ |
|
71 | struct cpu_private_page { |
75 | struct cpu_private_data { |
72 | cpu_t *cpu; |
76 | cpu_t *cpu; |
73 | thread_t *thread; |
77 | thread_t *thread; |
74 | task_t *task; |
78 | task_t *task; |
75 | }; |
79 | }; |
76 | 80 | ||
- | 81 | extern cpu_private_data_t *cpu_private_data; |
|
77 | extern cpu_t *cpus; |
82 | extern cpu_t *cpus; |
78 | 83 | ||
79 | extern void cpu_init(void); |
84 | extern void cpu_init(void); |
80 | extern void cpu_arch_init(void); |
85 | extern void cpu_arch_init(void); |
81 | extern void cpu_identify(void); |
86 | extern void cpu_identify(void); |