Date: Wed, 30 Jul 2008 11:30:55 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 cpu_switch.S genassym.c src/sys/amd64/ia32 ia32_signal.c src/sys/amd64/include pcb.h src/sys/amd64/linux32 linux32_machdep.c Message-ID: <200807301819.m6UIJalh003655@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-07-30 11:30:55 UTC FreeBSD src repository Modified files: sys/amd64/amd64 cpu_switch.S genassym.c sys/amd64/ia32 ia32_signal.c sys/amd64/include pcb.h sys/amd64/linux32 linux32_machdep.c Log: SVN rev 180992 on 2008-07-30 11:30:55Z by kib 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 Revision Changes Path 1.162 +29 -18 src/sys/amd64/amd64/cpu_switch.S 1.169 +1 -0 src/sys/amd64/amd64/genassym.c 1.18 +1 -1 src/sys/amd64/ia32/ia32_signal.c 1.65 +1 -0 src/sys/amd64/include/pcb.h 1.47 +1 -1 src/sys/amd64/linux32/linux32_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807301819.m6UIJalh003655>