Lines Matching refs:myid
227 int x, myid;
231 myid = bootAP;
234 ucode_load_ap(myid);
237 pc = &__pcpu[myid];
240 pcpu_init(pc, myid, sizeof(struct pcpu));
241 dpcpu_init(dpcpu, myid);
242 pc->pc_apic_id = cpu_apic_ids[myid];
252 ssdtosd(&gdt_segs[x], &gdt[myid * NGDT + x].sd);
256 r_gdt.rd_base = (int) &gdt[myid * NGDT];
265 gdt[myid * NGDT + GPROC0_SEL].sd.sd_type = SDT_SYS386TSS;
269 PCPU_SET(tss_gdt, &gdt[myid * NGDT + GPROC0_SEL].sd);
273 PCPU_SET(fsgs_gdt, &gdt[myid * NGDT + GUFS_SEL].sd);