From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 27 21:08:42 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB71516A4DD; Thu, 27 Jul 2006 21:08:42 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from outmx009.isp.belgacom.be (outmx009.isp.belgacom.be [195.238.5.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 565EB43D49; Thu, 27 Jul 2006 21:08:41 +0000 (GMT) (envelope-from tijl@ulyssis.org) Received: from outmx009.isp.belgacom.be (localhost [127.0.0.1]) by outmx009.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id k6RL8cUt029585; Thu, 27 Jul 2006 23:08:39 +0200 (envelope-from ) Received: from kalimero.kotnet.org (84.41-245-81.adsl-dyn.isp.belgacom.be [81.245.41.84]) by outmx009.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id k6RL8SQf029502; Thu, 27 Jul 2006 23:08:28 +0200 (envelope-from ) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.13.6/8.13.6) with ESMTP id k6RL8RQ3004931; Thu, 27 Jul 2006 23:08:28 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-emulation@freebsd.org Date: Thu, 27 Jul 2006 23:08:22 +0200 User-Agent: KMail/1.9.3 References: <200607221914.15826.lofi@freebsd.org> <200607250358.21457.tijl@ulyssis.org> <200607271121.17313.jhb@freebsd.org> In-Reply-To: <200607271121.17313.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2050574.CxlVPIfA9y"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607272308.27425.tijl@ulyssis.org> Cc: Daniel Eischen , freebsd-hackers@freebsd.org, Michael Nottebrock , John Baldwin Subject: Re: WINE vs. FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2006 21:08:42 -0000 --nextPart2050574.CxlVPIfA9y Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 27 July 2006 17:21, John Baldwin wrote: > On Monday 24 July 2006 21:58, Tijl Coosemans wrote: > > However, Wine/Windows uses %fs for TLS and it appears that the > > FreeBSD kernel doesn't preserve it. It always ends up pointing to > > GUDATA_SEL. > > The kernel should preserve %fs across syscalls, traps, and faults.=20 > Can you point to a specific case where %fs is not preserved? It > sounds like %fs is never set to a value in Wine. Yes, it was a combination of compiler optimizations and an inline=20 assembly block missing __volatile__. --nextPart2050574.CxlVPIfA9y Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBEyStLdMR2xnarec8RAqZ7AJ9GAvaccJ2AOXet7rLSJHpSLSzolwCfUrMf 4KQ0DZCCpmV+5bxq6uXCv4M= =Ndp6 -----END PGP SIGNATURE----- --nextPart2050574.CxlVPIfA9y--