Changes in kernel/arch/ia32/src/smp/smp.c [adec5b45:c0699467] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/smp/smp.c
radec5b45 rc0699467 47 47 #include <debug.h> 48 48 #include <arch/asm.h> 49 #include <mm/frame.h> 49 50 #include <mm/page.h> 50 #include <mm/frame.h>51 #include <mm/km.h>52 51 #include <mm/slab.h> 53 52 #include <mm/as.h> … … 73 72 74 73 if (config.cpu_count > 1) { 75 l_apic = (uint32_t *) km_map((uintptr_t) l_apic, PAGE_SIZE, 76 PAGE_WRITE | PAGE_NOT_CACHEABLE); 77 io_apic = (uint32_t *) km_map((uintptr_t) io_apic, PAGE_SIZE, 78 PAGE_WRITE | PAGE_NOT_CACHEABLE); 74 l_apic = (uint32_t *) hw_map((uintptr_t) l_apic, PAGE_SIZE); 75 io_apic = (uint32_t *) hw_map((uintptr_t) io_apic, PAGE_SIZE); 79 76 } 80 77 }
Note:
See TracChangeset
for help on using the changeset viewer.