DragonFly BSD
DragonFly kernel List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: nvidia machdep.c patch still useful ?


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Apr 2004 22:47:38 -0700 (PDT)

:Hrm.  What is the FS segment standardly used for, if anything?
:
:I'm familiar with Win32's use of it as a per-thread data area.  For 
:example, "mov eax, fs:[0]" is a common instruction emitted by Win32 
:compilers when setting up exception handlers.  This caused some problems 
:with WINE when some (versions of) OSes would trash FS.

    %fs cannot be set to anything useful by userland, at least I don't
    think it can.  %gs can be set to a user-defined custom segment.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]