Rev 273 | Rev 279 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 273 | Rev 277 | ||
---|---|---|---|
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, KA2PA((__address)l_apic), |
65 | map_page_to_frame((__address)l_apic, (__address)l_apic, |
66 | PAGE_NOT_CACHEABLE, 0); |
66 | PAGE_NOT_CACHEABLE, 0); |
67 | map_page_to_frame((__address) io_apic, |
67 | map_page_to_frame((__address) io_apic, |
68 | KA2PA((__address) io_apic), |
68 | (__address) io_apic, |
69 | PAGE_NOT_CACHEABLE, 0); |
69 | PAGE_NOT_CACHEABLE, 0); |
70 | } |
70 | } |
71 | 71 | ||
72 | /* |
72 | /* |
73 | * Must be initialized outside the kmp thread, since it is waited |
73 | * Must be initialized outside the kmp thread, since it is waited |