Rev 402 | Rev 414 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 402 | Rev 413 | ||
---|---|---|---|
Line 107... | Line 107... | ||
107 | 107 | ||
108 | /** Bootstrap CPU main kernel routine |
108 | /** Bootstrap CPU main kernel routine |
109 | * |
109 | * |
110 | * Initializes the kernel by bootstrap CPU. |
110 | * Initializes the kernel by bootstrap CPU. |
111 | * |
111 | * |
112 | * Assuming cpu_priority_high(). |
112 | * Assuming interrupts_disable(). |
113 | * |
113 | * |
114 | */ |
114 | */ |
115 | void main_bsp(void) |
115 | void main_bsp(void) |
116 | { |
116 | { |
117 | config.cpu_count = 1; |
117 | config.cpu_count = 1; |
Line 206... | Line 206... | ||
206 | /** Application CPUs main kernel routine |
206 | /** Application CPUs main kernel routine |
207 | * |
207 | * |
208 | * Executed by application processors, temporary stack |
208 | * Executed by application processors, temporary stack |
209 | * is at ctx.sp which was set during BP boot. |
209 | * is at ctx.sp which was set during BP boot. |
210 | * |
210 | * |
211 | * Assuming cpu_priority_high(). |
211 | * Assuming interrupts_disable()'d. |
212 | * |
212 | * |
213 | */ |
213 | */ |
214 | void main_ap(void) |
214 | void main_ap(void) |
215 | { |
215 | { |
216 | /* |
216 | /* |