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

/openbsd-current/sys/arch/i386/include/
H A Dtcb.h27 ((void *)i386_get_threadbase(p, TSEG_GS))
29 i386_set_threadbase(p, (uint32_t)(addr), TSEG_GS)
H A Dpcb.h76 #define TSEG_GS 1 macro
/openbsd-current/sys/arch/i386/i386/
H A Dsys_machdep.c152 uint32_t base = i386_get_threadbase(p, TSEG_GS);
164 error = i386_set_threadbase(p, base, TSEG_GS);
H A Dvm_machdep.c96 i386_set_threadbase(p2, (uint32_t)tcb, TSEG_GS);
H A Dmachdep.c2874 setsegment(&pcb->pcb_threadsegs[TSEG_GS], 0,
2883 curcpu()->ci_gdt[GUGS_SEL].sd = pcb->pcb_threadsegs[TSEG_GS];
H A Dpmap.c1526 self->ci_gdt[GUGS_SEL].sd = pcb->pcb_threadsegs[TSEG_GS];

Completed in 81 milliseconds