Rev 564 | Rev 621 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 564 | Rev 578 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | #include <proc/task.h> |
38 | #include <proc/task.h> |
39 | #include <main/kinit.h> |
39 | #include <main/kinit.h> |
40 | #include <console/kconsole.h> |
40 | #include <console/kconsole.h> |
41 | #include <cpu.h> |
41 | #include <cpu.h> |
42 | #include <align.h> |
42 | #include <align.h> |
- | 43 | #include <interrupt.h> |
|
43 | 44 | ||
44 | #ifdef CONFIG_SMP |
45 | #ifdef CONFIG_SMP |
45 | #include <arch/smp/apic.h> |
46 | #include <arch/smp/apic.h> |
46 | #include <arch/smp/mps.h> |
47 | #include <arch/smp/mps.h> |
47 | #endif /* CONFIG_SMP */ |
48 | #endif /* CONFIG_SMP */ |
Line 171... | Line 172... | ||
171 | * kconsole data structures must be initialized very early |
172 | * kconsole data structures must be initialized very early |
172 | * because other subsystems will register their respective |
173 | * because other subsystems will register their respective |
173 | * commands. |
174 | * commands. |
174 | */ |
175 | */ |
175 | kconsole_init(); |
176 | kconsole_init(); |
- | 177 | /* Exception handler initialization, before architecture |
|
- | 178 | * starts adding it's own handlers |
|
- | 179 | */ |
|
- | 180 | exc_init(); |
|
176 | 181 | ||
177 | arch_pre_mm_init(); |
182 | arch_pre_mm_init(); |
178 | early_heap_init(config.base + hardcoded_ktext_size + hardcoded_kdata_size, heap_size + heap_delta); |
183 | early_heap_init(config.base + hardcoded_ktext_size + hardcoded_kdata_size, heap_size + heap_delta); |
179 | frame_init(); |
184 | frame_init(); |
180 | page_init(); |
185 | page_init(); |