Searched refs:gdt (Results 1 – 15 of 15) sorted by relevance
| /f-stack/freebsd/amd64/amd64/ |
| H A D | mpboot.S | 83 .word bootcode-gdt /* index in gdt for 32 bit code */ 90 mov $bootdata-gdt, %eax 153 .word kernelcode-gdt /* index in gdt for 64 bit code */ 170 gdt: label 227 .word gdtend-gdt /* Length */ 228 .long gdt-mptramp_start /* Offset plus %ds << 4 */
|
| H A D | mp_machdep.c | 265 struct user_segment_descriptor *gdt; in init_secondary() local 289 gdt = pc->pc_gdt; in init_secondary() 290 pc->pc_tss = (struct system_segment_descriptor *)&gdt[GPROC0_SEL]; in init_secondary() 291 pc->pc_fs32p = &gdt[GUFS32_SEL]; in init_secondary() 292 pc->pc_gs32p = &gdt[GUGS32_SEL]; in init_secondary() 293 pc->pc_ldt = (struct system_segment_descriptor *)&gdt[GUSERLDT_SEL]; in init_secondary() 332 ssdtosd(&gdt_segs[x], &gdt[x]); in init_secondary() 335 (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in init_secondary() 336 ap_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1; in init_secondary() 337 ap_gdt.rd_base = (u_long)gdt; in init_secondary()
|
| H A D | xen-locore.S | 210 .word gdtend - gdt - 1 211 .long VTOP(gdt) # low 213 gdt: label
|
| H A D | machdep.c | 1556 struct user_segment_descriptor *gdt; in amd64_bsp_pcpu_init1() local 1559 gdt = *PCPU_PTR(gdt); in amd64_bsp_pcpu_init1() 1562 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in amd64_bsp_pcpu_init1() 1564 PCPU_SET(fs32p, &gdt[GUFS32_SEL]); in amd64_bsp_pcpu_init1() 1565 PCPU_SET(gs32p, &gdt[GUGS32_SEL]); in amd64_bsp_pcpu_init1() 1626 struct user_segment_descriptor *gdt; in hammer_time() local 1685 gdt = &temp_bsp_pcpu.pc_gdt[0]; in hammer_time() 1693 ssdtosd(&gdt_segs[x], &gdt[x]); in hammer_time() 1697 (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in hammer_time() 1699 r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1; in hammer_time() [all …]
|
| H A D | trap.c | 853 struct user_segment_descriptor *gdt; local 860 gdt = *PCPU_PTR(gdt); 861 sdtossd(&gdt[IDXSEL(frame->tf_cs & 0xffff)], &softseg);
|
| /f-stack/freebsd/i386/i386/ |
| H A D | mp_machdep.c | 254 ssdtosd(&gdt_segs[x], &gdt[myid * NGDT + x].sd); in init_secondary() 257 r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1; in init_secondary() 258 r_gdt.rd_base = (int) &gdt[myid * NGDT]; in init_secondary() 272 gdt[myid * NGDT + GPROC0_SEL].sd.sd_type = SDT_SYS386TSS; in init_secondary() 276 PCPU_SET(tss_gdt, &gdt[myid * NGDT + GPROC0_SEL].sd); in init_secondary() 280 PCPU_SET(fsgs_gdt, &gdt[myid * NGDT + GUFS_SEL].sd); in init_secondary()
|
| H A D | db_interface.c | 107 sdp = &gdt[PCPU_GET(cpuid) * NGDT].sd; in db_segsize()
|
| H A D | machdep.c | 2414 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in init386() 2422 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in init386() 2527 r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1; in machdep_init_trampoline() 2528 r_gdt.rd_base = (int)gdt; in machdep_init_trampoline() 2534 gdt[GPROC0_SEL].sd.sd_lobase = (int)tss; in machdep_init_trampoline() 2535 gdt[GPROC0_SEL].sd.sd_hibase = (u_int)tss >> 24; in machdep_init_trampoline() 2536 gdt[GPROC0_SEL].sd.sd_type = SDT_SYS386TSS; in machdep_init_trampoline() 2538 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in machdep_init_trampoline() 2539 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in machdep_init_trampoline() 2585 gdt[GLDT_SEL].sd.sd_lobase = (int)ldt; in machdep_init_trampoline() [all …]
|
| H A D | bios.c | 266 p_gdt = &gdt[PCPU_GET(cpuid) * NGDT]; in set_bios_selectors() 268 p_gdt = gdt; in set_bios_selectors()
|
| H A D | sys_machdep.c | 420 gdt[gdt_idx].sd = pldt->ldt_sd; in set_user_ldt_locked()
|
| H A D | trap.c | 891 sdtossd(&gdt[IDXSEL(frame->tf_cs & 0xffff)].sd, &softseg);
|
| /f-stack/freebsd/i386/include/ |
| H A D | segments.h | 87 extern union descriptor *gdt;
|
| /f-stack/freebsd/amd64/vmm/ |
| H A D | vmm_host.h | 72 return ((uint64_t)*PCPU_PTR(gdt)); in vmm_get_host_gdtrbase()
|
| /f-stack/freebsd/amd64/vmm/amd/ |
| H A D | vmcb.h | 293 struct vmcb_segment gdt; member
|
| H A D | vmcb.c | 95 seg = &state->gdt; in vmcb_segptr()
|