Home
last modified time | relevance | path

Searched refs:GPROC0_SEL (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/x86/include/
H A Dsegments.h232 #define GPROC0_SEL 9 /* Task state process slot zero and up */ macro
266 #define GPROC0_SEL 9 /* TSS for entering kernel etc */ macro
/freebsd/sys/amd64/amd64/
H A Dmp_machdep.c210 pc->pc_tss = (struct system_segment_descriptor *)&gdt[GPROC0_SEL]; in init_secondary()
250 gdt_segs[GPROC0_SEL].ssd_base = (long)&pc->pc_common_tss; in init_secondary()
252 if (x != GPROC0_SEL && x != GPROC0_SEL + 1 && in init_secondary()
256 ssdtosyssd(&gdt_segs[GPROC0_SEL], in init_secondary()
257 (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in init_secondary()
269 gsel_tss = GSEL(GPROC0_SEL, SEL_KPL); in init_secondary()
H A Dmachdep.c438 [GPROC0_SEL] = { /* 9 Proc 0 TSS Descriptor */
447 [GPROC0_SEL + 1] = { /* 10 Proc 0 TSS descriptor, double size */
1201 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in amd64_bsp_pcpu_init1()
1384 if (x != GPROC0_SEL && x != (GPROC0_SEL + 1) && in hammer_time()
1388 gdt_segs[GPROC0_SEL].ssd_base = (uintptr_t)&pc->pc_common_tss; in hammer_time()
1389 ssdtosyssd(&gdt_segs[GPROC0_SEL], in hammer_time()
1390 (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in hammer_time()
1510 gsel_tss = GSEL(GPROC0_SEL, SEL_KPL); in hammer_time()
H A Dgenassym.c274 ASSYM(TSSSEL, GSEL(GPROC0_SEL, SEL_KPL));
H A Dsys_machdep.c430 ltr(GSEL(GPROC0_SEL, SEL_KPL)); in amd64_set_ioperm()
H A Dpmap.c2048 gdt_segs[GPROC0_SEL].ssd_base = (uintptr_t)&__pcpu[0].pc_common_tss; in pmap_bootstrap()
2049 ssdtosyssd(&gdt_segs[GPROC0_SEL], in pmap_bootstrap()
2050 (struct system_segment_descriptor *)&__pcpu[0].pc_gdt[GPROC0_SEL]); in pmap_bootstrap()
2055 ltr(GSEL(GPROC0_SEL, SEL_KPL)); in pmap_bootstrap()
2263 ssdtosyssd(&gdt_segs[GPROC0_SEL], in pmap_bootstrap_la57()
2264 (struct system_segment_descriptor *)&__pcpu[0].pc_gdt[GPROC0_SEL]); in pmap_bootstrap_la57()
2265 ltr(GSEL(GPROC0_SEL, SEL_KPL)); in pmap_bootstrap_la57()
/freebsd/sys/i386/i386/
H A Dvm86bios.S97 movl $GPROC0_SEL*8,%esi /* GSEL(entry, SEL_KPL) */
159 movl $GPROC0_SEL*8,%esi /* GSEL(entry, SEL_KPL) */
H A Dmp_machdep.c300 gdt_segs[GPROC0_SEL].ssd_base = (int)common_tssp; in init_secondary()
321 gsel_tss = GSEL(GPROC0_SEL, SEL_KPL); in init_secondary()
322 gdt[myid * NGDT + GPROC0_SEL].sd.sd_type = SDT_SYS386TSS; in init_secondary()
326 PCPU_SET(tss_gdt, &gdt[myid * NGDT + GPROC0_SEL].sd); in init_secondary()
H A Dmachdep.c1454 gdt_segs[GPROC0_SEL].ssd_base = (int)&common_tss0; in init386()
1511 gsel_tss = GSEL(GPROC0_SEL, SEL_KPL); in init386()
1512 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in init386()
1589 gdt[GPROC0_SEL].sd.sd_type = SDT_SYS386TSS; /* clear busy bit */ in init386()
1629 gdt[GPROC0_SEL].sd.sd_lobase = (int)tss; in machdep_init_trampoline()
1630 gdt[GPROC0_SEL].sd.sd_hibase = (u_int)tss >> 24; in machdep_init_trampoline()
1631 gdt[GPROC0_SEL].sd.sd_type = SDT_SYS386TSS; in machdep_init_trampoline()
1634 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in machdep_init_trampoline()
1637 ltr(GSEL(GPROC0_SEL, SEL_KPL)); in machdep_init_trampoline()
H A Dgenassym.c222 ASSYM(GPROC0_SEL, GPROC0_SEL);
H A Dswtch.S220 movl $GPROC0_SEL*8, %esi /* GSEL(GPROC0_SEL, SEL_KPL) */
H A Dsys_machdep.c326 ltr(GSEL(GPROC0_SEL, SEL_KPL)); in i386_extend_pcb()
/freebsd/sys/amd64/vmm/
H A Dvmm_host.c145 return (GSEL(GPROC0_SEL, SEL_KPL)); in vmm_get_host_tsssel()
/freebsd/sys/amd64/vmm/amd/
H A Dsvm.c1916 ltr(GSEL(GPROC0_SEL, SEL_KPL)); in restore_host_tss()