Lines Matching refs:i
47 for (int i = 0; i < total_processor_num; ++i) in smp_init() local
50 proc_local_apic_structs[i] = (struct acpi_Processor_Local_APIC_Structure_t *)(tmp_vaddr[i]); in smp_init()
58 for (int i = 200; i < 210; ++i) in smp_init() local
59 set_intr_gate(i, 0, SMP_interrupt_table[i - 200]); in smp_init()
74 for (int i = 0; i < total_processor_num; ++i) // i从1开始,不初始化bsp in smp_init() local
79 kdebug("[core %d] acpi processor UID=%d, APIC ID=%d, flags=%#010lx", i, in smp_init()
80 … proc_local_apic_structs[i]->ACPI_Processor_UID, proc_local_apic_structs[i]->local_apic_id, in smp_init()
81 proc_local_apic_structs[i]->flags); in smp_init()
82 if (proc_local_apic_structs[i]->local_apic_id == 0) in smp_init()
87 … if (!((proc_local_apic_structs[i]->flags & 0x1) || (proc_local_apic_structs[i]->flags & 0x2))) in smp_init()
90 … kdebug("processor %d cannot be enabled.", proc_local_apic_structs[i]->ACPI_Processor_UID); in smp_init()
99 current_starting_cpu = proc_local_apic_structs[i]->ACPI_Processor_UID; in smp_init()
111 proc_local_apic_structs[i]->local_apic_id; in smp_init()
113 proc_local_apic_structs[i]->local_apic_id; in smp_init()
133 proc_local_apic_structs[i]->local_apic_id); in smp_init()
136 proc_local_apic_structs[i]->local_apic_id); in smp_init()