Rev 4337 | Rev 4339 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4337 | Rev 4338 | ||
---|---|---|---|
Line 196... | Line 196... | ||
196 | 196 | ||
197 | LOG("\nconfig.base=%#" PRIp " config.kernel_size=%" PRIs |
197 | LOG("\nconfig.base=%#" PRIp " config.kernel_size=%" PRIs |
198 | "\nconfig.stack_base=%#" PRIp " config.stack_size=%" PRIs, |
198 | "\nconfig.stack_base=%#" PRIp " config.stack_size=%" PRIs, |
199 | config.base, config.kernel_size, config.stack_base, |
199 | config.base, config.kernel_size, config.stack_base, |
200 | config.stack_size); |
200 | config.stack_size); |
201 | 201 | ||
202 | #ifdef CONFIG_KCONSOLE |
202 | #ifdef CONFIG_KCONSOLE |
203 | /* |
203 | /* |
204 | * kconsole data structures must be initialized very early |
204 | * kconsole data structures must be initialized very early |
205 | * because other subsystems will register their respective |
205 | * because other subsystems will register their respective |
206 | * commands. |
206 | * commands. |
Line 211... | Line 211... | ||
211 | /* |
211 | /* |
212 | * Exception handler initialization, before architecture |
212 | * Exception handler initialization, before architecture |
213 | * starts adding its own handlers |
213 | * starts adding its own handlers |
214 | */ |
214 | */ |
215 | LOG_EXEC(exc_init()); |
215 | LOG_EXEC(exc_init()); |
216 | 216 | ||
217 | /* |
217 | /* |
218 | * Memory management subsystems initialization. |
218 | * Memory management subsystems initialization. |
219 | */ |
219 | */ |
220 | LOG_EXEC(arch_pre_mm_init()); |
220 | LOG_EXEC(arch_pre_mm_init()); |
221 | LOG_EXEC(frame_init()); |
221 | LOG_EXEC(frame_init()); |
Line 257... | Line 257... | ||
257 | } else |
257 | } else |
258 | printf("No init binaries found\n"); |
258 | printf("No init binaries found\n"); |
259 | 259 | ||
260 | LOG_EXEC(ipc_init()); |
260 | LOG_EXEC(ipc_init()); |
261 | LOG_EXEC(klog_init()); |
261 | LOG_EXEC(klog_init()); |
- | 262 | ||
- | 263 | #ifdef CONFIG_KCONSOLE |
|
- | 264 | LOG_EXEC(kconsole_notify_init()); |
|
- | 265 | #endif |
|
262 | 266 | ||
263 | /* |
267 | /* |
264 | * Create kernel task. |
268 | * Create kernel task. |
265 | */ |
269 | */ |
266 | task_t *kernel = task_create(AS_KERNEL, "kernel"); |
270 | task_t *kernel = task_create(AS_KERNEL, "kernel"); |
267 | if (!kernel) |
271 | if (!kernel) |