Rev 510 | Rev 517 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 510 | Rev 512 | ||
---|---|---|---|
Line 115... | Line 115... | ||
115 | } |
115 | } |
116 | } |
116 | } |
117 | #endif /* CONFIG_SMP */ |
117 | #endif /* CONFIG_SMP */ |
118 | 118 | ||
119 | /* |
119 | /* |
- | 120 | * At this point SMP, if present, is configured. |
|
- | 121 | */ |
|
- | 122 | arch_post_smp_init(); |
|
- | 123 | ||
- | 124 | /* |
|
120 | * Create kernel console. |
125 | * Create kernel console. |
121 | */ |
126 | */ |
122 | if (t = thread_create(kconsole, NULL, TASK, 0)) |
127 | if (t = thread_create(kconsole, NULL, TASK, 0)) |
123 | thread_ready(t); |
128 | thread_ready(t); |
124 | else panic("thread_create/kconsole\n"); |
129 | else panic("thread_create/kconsole\n"); |
Line 162... | Line 167... | ||
162 | #ifdef CONFIG_TEST |
167 | #ifdef CONFIG_TEST |
163 | test(); |
168 | test(); |
164 | #endif /* CONFIG_TEST */ |
169 | #endif /* CONFIG_TEST */ |
165 | 170 | ||
166 | while (1) { |
171 | while (1) { |
167 | thread_sleep(60); |
172 | thread_sleep(1); |
168 | printf("kinit... "); |
173 | printf("kinit... "); |
169 | } |
174 | } |
170 | 175 | ||
171 | } |
176 | } |