Changes in kernel/arch/ia32/src/smp/smp.c [e3ce39b:99d6fd0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/smp/smp.c
re3ce39b r99d6fd0 83 83 panic("Cannot allocate address for io_apic."); 84 84 85 if (config.cpu_count > 1) { 86 page_table_lock(AS_KERNEL, true); 85 if (config.cpu_count > 1) { 87 86 page_mapping_insert(AS_KERNEL, l_apic_address, 88 87 (uintptr_t) l_apic, PAGE_NOT_CACHEABLE | PAGE_WRITE); 89 88 page_mapping_insert(AS_KERNEL, io_apic_address, 90 89 (uintptr_t) io_apic, PAGE_NOT_CACHEABLE | PAGE_WRITE); 91 page_table_unlock(AS_KERNEL, true);92 90 93 91 l_apic = (uint32_t *) l_apic_address;
Note:
See TracChangeset
for help on using the changeset viewer.