Changes in kernel/arch/ia32/src/smp/smp.c [49e6c6b4:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/smp/smp.c
r49e6c6b4 r9d58539 55 55 #include <memstr.h> 56 56 #include <arch/drivers/i8259.h> 57 #include <cpu.h>58 57 59 58 #ifdef CONFIG_SMP … … 81 80 } 82 81 83 static void cpu_arch_id_init(void)84 {85 ASSERT(ops != NULL);86 ASSERT(cpus != NULL);87 88 for (unsigned int i = 0; i < config.cpu_count; ++i) {89 cpus[i].arch.id = ops->cpu_apic_id(i);90 }91 }92 93 82 /* 94 83 * Kernel thread for bringing up application processors. It becomes clear … … 103 92 104 93 ASSERT(ops != NULL); 105 106 /*107 * SMP initialized, cpus array allocated. Assign each CPU its108 * physical APIC ID.109 */110 cpu_arch_id_init();111 94 112 95 /*
Note:
See TracChangeset
for help on using the changeset viewer.