Date: Tue, 9 Oct 2007 10:52:56 +0200 From: Roman Divacky <rdivacky@freebsd.org> To: Mihai Don??u <mihai.dontu@gmail.com> Cc: freebsd-emulation@freebsd.org, freebsd-questions@freebsd.org, Jung-uk Kim <jkim@freebsd.org> Subject: Re: amd64_set_gsbase() Message-ID: <20071009085256.GA14059@freebsd.org> In-Reply-To: <200710090348.52036.mihai.dontu@gmail.com> References: <200710082135.58099.mihai.dontu@gmail.com> <200710090100.58577.mihai.dontu@gmail.com> <200710081841.35968.jkim@FreeBSD.org> <200710090348.52036.mihai.dontu@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 09, 2007 at 03:48:51AM +0300, Mihai Don??u wrote: > On Tuesday 09 October 2007, Jung-uk Kim wrote: > > In long mode, we don't really care about segment registers. While > > implementing TLS for Linuxulator, I had to do the following hack, for > > example: > > > > http://docs.freebsd.org/cgi/mid.cgi?200703300006.l2U06LA1075891 > > > > Under Linux and Windows, they do preserve segment registers vs. base > > addresses mapping for backward compatibility, AFAIK with some > > performance penalty. > > Ah! But you are doing your magic _in the kernel_. I don't have this luxury :) > I have to do everything in user space (as a normal user) on an out-of-the-box > FreeBSD (-stable). just to note things... actually you have the luxury. we have made special hacks to let wine works well (thr_kill2) I see no reason why special support for wine64 in kernel would be left out. just my 2 cents roman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071009085256.GA14059>