freebsd-dev/sys/amd64/ia32
Konstantin Belousov 8f4a1f3a83 Bring back the save/restore of the %ds, %es, %fs and %gs registers for
the 32bit images on amd64.

Change the semantic of the PCB_32BIT pcb flag to request the context
switch code to operate on the segment registers. Its previous meaning
of saving or restoring the %gs base offset is assigned to the new
PCB_GS32BIT flag.

FreeBSD 32bit image activator sets the PCB_32BIT flag, while Linux 32bit
emulation sets PCB_32BIT | PCB_GS32BIT.

Reviewed by:	peter
MFC after:	2 weeks
2008-07-30 11:30:55 +00:00
..
ia32_exception.S Newer versions of gcc don't support treating structures passed by value 2006-12-17 06:48:40 +00:00
ia32_reg.c include opt_compat.h to unbreak the build 2005-10-24 00:00:00 +00:00
ia32_signal.c Bring back the save/restore of the %ds, %es, %fs and %gs registers for 2008-07-30 11:30:55 +00:00
ia32_sigtramp.S Stop reloading %fs and %gs, since it causes the base address from 2006-09-23 13:42:09 +00:00
ia32_syscall.c Optimize vmmeter locking. 2007-06-10 21:59:14 +00:00