Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2006 23:08:22 +0200
From:      Tijl Coosemans <tijl@ulyssis.org>
To:        freebsd-emulation@freebsd.org
Cc:        Daniel Eischen <deischen@freebsd.org>, freebsd-hackers@freebsd.org, Michael Nottebrock <lofi@freebsd.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: WINE vs. FreeBSD
Message-ID:  <200607272308.27425.tijl@ulyssis.org>
In-Reply-To: <200607271121.17313.jhb@freebsd.org>
References:  <200607221914.15826.lofi@freebsd.org> <200607250358.21457.tijl@ulyssis.org> <200607271121.17313.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607272308.27425.tijl>