Lines Matching refs:gdt
1192 struct user_segment_descriptor *gdt; in amd64_bsp_pcpu_init1() local
1195 gdt = *PCPU_PTR(gdt); in amd64_bsp_pcpu_init1()
1198 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in amd64_bsp_pcpu_init1()
1199 PCPU_SET(ldt, (struct system_segment_descriptor *)&gdt[GUSERLDT_SEL]); in amd64_bsp_pcpu_init1()
1200 PCPU_SET(fs32p, &gdt[GUFS32_SEL]); in amd64_bsp_pcpu_init1()
1201 PCPU_SET(gs32p, &gdt[GUGS32_SEL]); in amd64_bsp_pcpu_init1()
1290 struct user_segment_descriptor *gdt; in hammer_time() local
1375 gdt = &temp_bsp_pcpu.pc_gdt[0]; in hammer_time()
1383 ssdtosd(&gdt_segs[x], &gdt[x]); in hammer_time()
1387 (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in hammer_time()
1389 r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1; in hammer_time()
1390 r_gdt.rd_base = (long)gdt; in hammer_time()