Rev 1138 | Rev 1196 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1138 | Rev 1164 | ||
|---|---|---|---|
| Line 55... | Line 55... | ||
| 55 | #include <arch.h> |
55 | #include <arch.h> |
| 56 | #include <arch/faddr.h> |
56 | #include <arch/faddr.h> |
| 57 | #include <typedefs.h> |
57 | #include <typedefs.h> |
| 58 | #include <ipc/ipc.h> |
58 | #include <ipc/ipc.h> |
| 59 | #include <macros.h> |
59 | #include <macros.h> |
| - | 60 | #include <adt/btree.h> |
|
| 60 | 61 | ||
| 61 | #ifdef CONFIG_SMP |
62 | #ifdef CONFIG_SMP |
| 62 | #include <arch/smp/apic.h> |
63 | #include <arch/smp/apic.h> |
| 63 | #include <arch/smp/mps.h> |
64 | #include <arch/smp/mps.h> |
| 64 | #endif /* CONFIG_SMP */ |
65 | #endif /* CONFIG_SMP */ |
| Line 166... | Line 167... | ||
| 166 | * Memory management subsystems initialization. |
167 | * Memory management subsystems initialization. |
| 167 | */ |
168 | */ |
| 168 | arch_pre_mm_init(); |
169 | arch_pre_mm_init(); |
| 169 | frame_init(); /* Initialize at least 1 memory segment big enough for slab to work */ |
170 | frame_init(); /* Initialize at least 1 memory segment big enough for slab to work */ |
| 170 | slab_cache_init(); |
171 | slab_cache_init(); |
| - | 172 | btree_init(); |
|
| 171 | as_init(); |
173 | as_init(); |
| 172 | page_init(); |
174 | page_init(); |
| 173 | tlb_init(); |
175 | tlb_init(); |
| 174 | arch_post_mm_init(); |
176 | arch_post_mm_init(); |
| 175 | 177 | ||