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