Subversion Repositories HelenOS

Rev

Rev 23 | Rev 27 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23 Rev 26
Line 99... Line 99...
99
void main_bsp_separated_stack(void) {
99
void main_bsp_separated_stack(void) {
100
    vm_t *m;
100
    vm_t *m;
101
    task_t *k;
101
    task_t *k;
102
    thread_t *t;
102
    thread_t *t;
103
 
103
 
104
    arch_init();
104
    arch_pre_mm_init();
105
 
105
 
106
    heap_init(config.base + hardcoded_ktext_size + hardcoded_kdata_size, CONFIG_HEAP_SIZE);
106
    heap_init(config.base + hardcoded_ktext_size + hardcoded_kdata_size, CONFIG_HEAP_SIZE);
107
    frame_init();
107
    frame_init();
108
    page_init();
108
    page_init();
109
    tlb_init();
109
    tlb_init();
Line 168... Line 168...
168
     * Neither frame_init() will do the complete thing. Neither cpu_init()
168
     * Neither frame_init() will do the complete thing. Neither cpu_init()
169
     * will do.
169
     * will do.
170
     */
170
     */
171
    config.cpu_active++;
171
    config.cpu_active++;
172
 
172
 
173
    arch_init();
173
    arch_pre_mm_init();
174
    frame_init();
174
    frame_init();
175
    page_init();
175
    page_init();
-
 
176
    arch_post_mm_init();
176
 
177
 
177
    cpu_init();
178
    cpu_init();
178
    calibrate_delay_loop();
179
    calibrate_delay_loop();
179
 
180
 
180
    l_apic_init();
181
    l_apic_init();