Changeset e3ce39b in mainline for kernel/arch/ia32/src/smp/smp.c
- Timestamp:
- 2010-05-31T19:08:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6e2bf29
- Parents:
- a820bf7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/smp/smp.c
ra820bf7 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.