Home
last modified time | relevance | path

Searched refs:TSEG_GS (Results 1 – 6 of 6) sorted by relevance

/openbsd/src/sys/arch/i386/include/
Dtcb.h27 ((void *)i386_get_threadbase(p, TSEG_GS))
29 i386_set_threadbase(p, (uint32_t)(addr), TSEG_GS)
Dpcb.h76 #define TSEG_GS 1 macro
/openbsd/src/sys/arch/i386/i386/
Dsys_machdep.c152 uint32_t base = i386_get_threadbase(p, TSEG_GS); in sys_sysarch()
164 error = i386_set_threadbase(p, base, TSEG_GS); in sys_sysarch()
Dvm_machdep.c96 i386_set_threadbase(p2, (uint32_t)tcb, TSEG_GS); in cpu_fork()
Dmachdep.c2880 setsegment(&pcb->pcb_threadsegs[TSEG_GS], 0, in setregs()
2889 curcpu()->ci_gdt[GUGS_SEL].sd = pcb->pcb_threadsegs[TSEG_GS]; in setregs()
Dpmap.c1536 self->ci_gdt[GUGS_SEL].sd = pcb->pcb_threadsegs[TSEG_GS]; in pmap_switch()