[fpc-devel] OO rewrite - technical questions
Sven Barth
pascaldragon at googlemail.com
Mon Jul 19 19:23:59 CEST 2010
Hi!
On 19.07.2010 18:50, Daniƫl Mantione wrote:
> Well, the following works on i386 but doesn't on x86_64, even though
> modify_ldt succeeds:
>
>(...)
>
> If you know how to make it work, I keep myself recommended :)
Well... according to this thread
http://stackoverflow.com/questions/1180796/how-to-use-gs-in-64-bit-windows-assembly-eg-porting-tls-code
it's only possible in kernel mode using a special instruction. The
kernel might set up the necessary data and the usermode part of the
Win32 subsystem fills in the data later.
Regards,
Sven
More information about the fpc-devel
mailing list