WINE vs. FreeBSD
tijl at ulyssis.org
Thu Jul 27 21:08:42 UTC 2006
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.
> 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
assembly block missing __volatile__.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060727/b8b38702/attachment.pgp
More information about the freebsd-hackers