CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/03/11 20:52:26
Modified files:
sys/arch/i386/include: pcb.h segments.h sysarch.h
sys/arch/i386/i386: locore.s machdep.c pmap.c sys_machdep.c
Log message:
Provide distinct segments for the %fs and %gs selectors to use by
default, with per-rthread base offsets and with sysarch() functions,
I386_{GET,SET}_{FS,GS}BASE, for fetching and setting those base
offsets. This is necessary for both rthread and Linux compat support.
suggestions from kettenis@, prodding from pirofti@ and deraadt@