Rev 512 | Rev 518 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 512 | Rev 517 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | #include <time/clock.h> |
34 | #include <time/clock.h> |
35 | #include <proc/scheduler.h> |
35 | #include <proc/scheduler.h> |
36 | #include <proc/thread.h> |
36 | #include <proc/thread.h> |
37 | #include <proc/task.h> |
37 | #include <proc/task.h> |
38 | #include <main/kinit.h> |
38 | #include <main/kinit.h> |
- | 39 | #include <main/kconsole.h> |
|
39 | #include <cpu.h> |
40 | #include <cpu.h> |
40 | #include <align.h> |
41 | #include <align.h> |
41 | 42 | ||
42 | #ifdef CONFIG_SMP |
43 | #ifdef CONFIG_SMP |
43 | #include <arch/smp/apic.h> |
44 | #include <arch/smp/apic.h> |
Line 155... | Line 156... | ||
155 | task_t *k; |
156 | task_t *k; |
156 | thread_t *t; |
157 | thread_t *t; |
157 | 158 | ||
158 | the_initialize(THE); |
159 | the_initialize(THE); |
159 | 160 | ||
- | 161 | /* |
|
- | 162 | * kconsole data structures must be initialized very early |
|
- | 163 | * because other subsystems will register their respective |
|
- | 164 | * commands. |
|
- | 165 | */ |
|
- | 166 | kconsole_init(); |
|
- | 167 | ||
160 | arch_pre_mm_init(); |
168 | arch_pre_mm_init(); |
161 | early_heap_init(config.base + hardcoded_ktext_size + hardcoded_kdata_size, heap_size + heap_delta); |
169 | early_heap_init(config.base + hardcoded_ktext_size + hardcoded_kdata_size, heap_size + heap_delta); |
162 | frame_init(); |
170 | frame_init(); |
163 | page_init(); |
171 | page_init(); |
164 | tlb_init(); |
172 | tlb_init(); |