%fs, %gs on AROS hosted
marcus at jet.franken.de
Sun Nov 11 13:36:12 CST 2007
On Sat, Nov 10, 2007 at 12:52:24PM +0100, Staf Verhaegen wrote:
> On Thu, 08 Nov 2007 09:08:29 +0100, Marcus Meissner
> <marcus at jet.franken.de> wrote:
> >> But the use of %fs by wine does not seem to conflict in any way with a
> >> possible usage of that segment register by the OS where wine is running
> >> on. Or is there some OS specific code that is handling it ?
> > No, it does not conflict. Your syscall / scheduler entry/exit points
> > however need to take care to save/restore it correctly, otherwise
> > you get interesting crashes ;)
> Already big thanks.
> Do you know where this code for these entry/exit points handling is
> located for the different OSes in the wine source code?
These are in the Operating System itself.
> Does Windows/wine also have such entry/exit points so I could freely use
> %fs,%gs in AROS hosted on Windows?
More information about the wine-devel