Subversion Repositories HelenOS

Rev

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

Rev 129 Rev 131
Line 55... Line 55...
55
    }
55
    }
56
    if (config.cpu_count == 1) {
56
    if (config.cpu_count == 1) {
57
        mps_init();
57
        mps_init();
58
        ops = &mps_config_operations;
58
        ops = &mps_config_operations;
59
    }
59
    }
-
 
60
 
-
 
61
    if (config.cpu_count > 1) {
-
 
62
        map_page_to_frame((__address) l_apic, (__address) l_apic, PAGE_NOT_CACHEABLE, 0);
-
 
63
        map_page_to_frame((__address) io_apic, (__address) io_apic, PAGE_NOT_CACHEABLE, 0);
-
 
64
        }
-
 
65
 
-
 
66
        /*
-
 
67
         * Must be initialized outside the kmp thread, since it is waited
-
 
68
         * on before the kmp thread is created.
-
 
69
         */
-
 
70
        waitq_initialize(&kmp_completion_wq);
-
 
71
 
60
}
72
}
61
 
73
 
62
/*
74
/*
63
 * Kernel thread for bringing up application processors. It becomes clear
75
 * Kernel thread for bringing up application processors. It becomes clear
64
 * that we need an arrangement like this (AP's being initialized by a kernel
76
 * that we need an arrangement like this (AP's being initialized by a kernel