[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %gs:0 thread pseudoregister in oskit-mach
From: |
Farid Hajji |
Subject: |
Re: %gs:0 thread pseudoregister in oskit-mach |
Date: |
Wed, 24 Apr 2002 10:08:44 +0200 (CEST) |
Roland McGrath wrote:
> > I know this is irrelevant for oskit-mach proper, but it may be
> > interesting to know if you're introducing any dependency in,
> > say, glibc/pthreads:
> >
> > In the L4 V4 spec, Appendix A (x86 Interface), register %gs
> > is used to point to the UTCB of the current thread (read-only).
>
> You may need to change that. The %gs:0 word will become part of the
> ELF/x86 ABI for TLS support.
Huston, we're gonna have a BIG problem!
The UTCB is a central information page for L4 userspace threads
and it's pretty difficult to find another x86 register that can
be used to point to it.
Espen, I know the spec can't be changed at this point. Do you see
any workaround for this problem?
Regards,
-Farid.
--
Farid Hajji -- Unix Systems and Network Admin | Phone: +49-2131-67-555
Broicherdorfstr. 83, D-41564 Kaarst, Germany | farid.hajji@ob.kamp.net
- - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - -
One OS To Rule Them All And In The Darkness Bind Them... --Bill Gates.
- Re: %gs:0 thread pseudoregister in oskit-mach, (continued)
- Re: %gs:0 thread pseudoregister in oskit-mach, Roland McGrath, 2002/04/23
- Re: %gs:0 thread pseudoregister in oskit-mach, Jeroen Dekkers, 2002/04/23
- Re: %gs:0 thread pseudoregister in oskit-mach, Roland McGrath, 2002/04/23
- Re: %gs:0 thread pseudoregister in oskit-mach, Jeroen Dekkers, 2002/04/23
- Re: %gs:0 thread pseudoregister in oskit-mach, Roland McGrath, 2002/04/23
- Re: %gs:0 thread pseudoregister in oskit-mach, Roland McGrath, 2002/04/23
Re: %gs:0 thread pseudoregister in oskit-mach, Roland McGrath, 2002/04/23