Subversion Repositories HelenOS

Rev

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

Rev 269 Rev 273
Line 60... Line 60...
60
        mps_init();
60
        mps_init();
61
        ops = &mps_config_operations;
61
        ops = &mps_config_operations;
62
    }
62
    }
63
 
63
 
64
    if (config.cpu_count > 1) {
64
    if (config.cpu_count > 1) {
65
        map_page_to_frame((__address) l_apic, (__address) l_apic, PAGE_NOT_CACHEABLE, 0);
65
        map_page_to_frame((__address)l_apic, KA2PA((__address)l_apic),
-
 
66
                  PAGE_NOT_CACHEABLE, 0);
66
        map_page_to_frame((__address) io_apic, (__address) io_apic, PAGE_NOT_CACHEABLE, 0);
67
        map_page_to_frame((__address) io_apic,
-
 
68
                  KA2PA((__address) io_apic),
-
 
69
                  PAGE_NOT_CACHEABLE, 0);
67
        }
70
        }
68
 
71
 
69
        /*
72
        /*
70
         * Must be initialized outside the kmp thread, since it is waited
73
         * Must be initialized outside the kmp thread, since it is waited
71
         * on before the kmp thread is created.
74
         * on before the kmp thread is created.