Searched refs:GPROC0_SEL (Results 1 – 14 of 14) sorted by relevance
/freebsd/sys/x86/include/ |
H A D | segments.h | 232 #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 D | mp_machdep.c | 210 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 D | machdep.c | 438 [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 D | genassym.c | 274 ASSYM(TSSSEL, GSEL(GPROC0_SEL, SEL_KPL));
|
H A D | sys_machdep.c | 430 ltr(GSEL(GPROC0_SEL, SEL_KPL)); in amd64_set_ioperm()
|
H A D | pmap.c | 2048 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 D | vm86bios.S | 97 movl $GPROC0_SEL*8,%esi /* GSEL(entry, SEL_KPL) */ 159 movl $GPROC0_SEL*8,%esi /* GSEL(entry, SEL_KPL) */
|
H A D | mp_machdep.c | 300 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 D | machdep.c | 1454 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 D | genassym.c | 222 ASSYM(GPROC0_SEL, GPROC0_SEL);
|
H A D | swtch.S | 220 movl $GPROC0_SEL*8, %esi /* GSEL(GPROC0_SEL, SEL_KPL) */
|
H A D | sys_machdep.c | 326 ltr(GSEL(GPROC0_SEL, SEL_KPL)); in i386_extend_pcb()
|
/freebsd/sys/amd64/vmm/ |
H A D | vmm_host.c | 145 return (GSEL(GPROC0_SEL, SEL_KPL)); in vmm_get_host_tsssel()
|
/freebsd/sys/amd64/vmm/amd/ |
H A D | svm.c | 1916 ltr(GSEL(GPROC0_SEL, SEL_KPL)); in restore_host_tss()
|