[fpc-devel] OO rewrite - technical questions

Michael Schnell mschnell at lumino.de
Tue Jul 20 13:39:56 CEST 2010


  On 07/19/2010 05:22 PM, Florian Klaempfl wrote:
> The segment register approach is not officially documented

Are we discussing Win32 or Win 64 here ?

So, what is officially documented regarding restoring registers after 
preemption.

Obviously all "normal" registers and all FPU registers are restored.

CS, DS and SS obviously need to be handled appropriately and are not 
available.

Also ES needs to be restored as same is dedicated to be used for local stuff

What more do we have ?  FS, GS.

Here some documentation would be necessary.

-Michael



More information about the fpc-devel mailing list