[lkml]   [2002]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] tls-2.5.30-A1

On Thu, 8 Aug 2002, Stephen Rothwell wrote:

> On Wed, 7 Aug 2002 11:33:23 -0700 (PDT) Linus Torvalds <> wrote:
> >
> > - keep the TLS entries contiguous, and make sure that segment 0040 (ie
> > GDT entry #8) is available to a TLS entry, since if I remember
> > correctly, that one is also magical for old Windows binaries for all
> > the wrong reasons (ie it was some system data area in DOS and in
> > Windows 3.1)
> segment 0040 is used by the APM driver to work around bugs in some BIOS
> implementations where some (brain-dead) BIOS writer has assume that the
> BIOS data area is still available in protected mode ...

Ok, sounds like that one ends up having to be a fixed segment (I wonder if
Wine can take advantage of it? looks like it is hardcoded to base 0x400,
which is probably fine for Wine anyway - just map something at the right
address - but it looks CPL0 only? Might be ok to just make it available to
user space).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.184 / U:11.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site