Lines Matching refs:bootAP
140 static int bootAP;
566 /* bootAP is set in start_ap() to our ID. */
570 gdt[bootAP * NGDT + GPROC0_SEL].sd.sd_type = SDT_SYS386TSS;
576 PCPU_SET(tss_gdt, &gdt[bootAP * NGDT + GPROC0_SEL].sd);
776 bootAP = cpu;
780 pc = &__pcpu[bootAP];
781 pcpu_init(pc, bootAP, sizeof(struct pcpu));
783 M_WAITOK | M_ZERO), bootAP);
784 pc->pc_apic_id = cpu_apic_ids[bootAP];
785 pc->pc_vcpu_id = cpu_apic_ids[bootAP];