lkml.org 
[lkml]   [2002]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] tls-2.5.31-C3

On 12 Aug 2002, Alan Cox wrote:

> Which does mean you can steal the old TLS value and put it back across
> the calls just by changing the TLS data for that process. [...]

yes - the 0x40 segment can be saved & restored safely. We have per-CPU
GDTs so nobody can modify them while the APM BIOS is executing. (assuming
preemption is disabled.)

> [...] For that matter on Windows emulation I thought Windows also needed
> 0x40 to be the same offset as the BIOS does so can't we leave it
> hardwired ?

another thing: do we want this with descriptor priviledge level 3? Because
the APM 0x40 GDT entry was a ring 0 descriptor, but that would not be
accessible to Wine or DOSEMU.

Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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