Rev 773 | Rev 814 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 773 | Rev 789 | ||
---|---|---|---|
Line 158... | Line 158... | ||
158 | * Memory management subsystems initialization. |
158 | * Memory management subsystems initialization. |
159 | */ |
159 | */ |
160 | arch_pre_mm_init(); |
160 | arch_pre_mm_init(); |
161 | early_heap_init(config.heap_addr, config.heap_size + config.heap_delta); |
161 | early_heap_init(config.heap_addr, config.heap_size + config.heap_delta); |
162 | frame_init(); |
162 | frame_init(); |
- | 163 | slab_cache_init(); |
|
163 | as_init(); |
164 | as_init(); |
164 | page_init(); |
165 | page_init(); |
165 | tlb_init(); |
166 | tlb_init(); |
166 | arch_post_mm_init(); |
167 | arch_post_mm_init(); |
167 | 168 | ||
Line 171... | Line 172... | ||
171 | config.base, hardcoded_ktext_size/1024, hardcoded_kdata_size/1024); |
172 | config.base, hardcoded_ktext_size/1024, hardcoded_kdata_size/1024); |
172 | 173 | ||
173 | arch_pre_smp_init(); |
174 | arch_pre_smp_init(); |
174 | smp_init(); |
175 | smp_init(); |
175 | /* Slab must be initialized AFTER we know the number of processors */ |
176 | /* Slab must be initialized AFTER we know the number of processors */ |
176 | slab_cache_init(); |
177 | slab_enable_cpucache(); |
177 | 178 | ||
178 | printf("config.memory_size=%dM\n", config.memory_size/(1024*1024)); |
179 | printf("config.memory_size=%dM\n", config.memory_size/(1024*1024)); |
179 | printf("config.cpu_count=%d\n", config.cpu_count); |
180 | printf("config.cpu_count=%d\n", config.cpu_count); |
180 | 181 | ||
181 | cpu_init(); |
182 | cpu_init(); |