Searched refs:TSEG_GS (Results 1 – 6 of 6) sorted by relevance
| /openbsd/src/sys/arch/i386/include/ |
| D | tcb.h | 27 ((void *)i386_get_threadbase(p, TSEG_GS)) 29 i386_set_threadbase(p, (uint32_t)(addr), TSEG_GS)
|
| D | pcb.h | 76 #define TSEG_GS 1 macro
|
| /openbsd/src/sys/arch/i386/i386/ |
| D | sys_machdep.c | 152 uint32_t base = i386_get_threadbase(p, TSEG_GS); in sys_sysarch() 164 error = i386_set_threadbase(p, base, TSEG_GS); in sys_sysarch()
|
| D | vm_machdep.c | 96 i386_set_threadbase(p2, (uint32_t)tcb, TSEG_GS); in cpu_fork()
|
| D | machdep.c | 2880 setsegment(&pcb->pcb_threadsegs[TSEG_GS], 0, in setregs() 2889 curcpu()->ci_gdt[GUGS_SEL].sd = pcb->pcb_threadsegs[TSEG_GS]; in setregs()
|
| D | pmap.c | 1536 self->ci_gdt[GUGS_SEL].sd = pcb->pcb_threadsegs[TSEG_GS]; in pmap_switch()
|