Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LWP private support / TLS support

5 views
Skip to first unread message

Joerg Sonnenberger

unread,
Feb 23, 2011, 11:35:38 PM2/23/11
to
Hi all,
I've just committed the first major step to TLS support on NetBSD.
The Alpha part is not complete at the moment, since it requires some
changes to the context switching code I can't test. What is needed
should be approximately:
(1) Call PAL_wdunique in cpu_switchto to ensure that the value is
updated.
(2) Remove the #if 0 around __HAVE___LWP_GETPRIVATE_FAST in types.h.

After a rebuild of libpthread, the ATF test cases for libpthread should
still work.

Joerg

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

Eric Schnoebelen

unread,
Feb 27, 2011, 2:43:47 PM2/27/11
to

Would you like console (and RCM/SRM) access to a DS10L for
testing?

I probably have some other Alpha platforms around here (much
older) that could be made available as well.

Joerg Sonnenberger writes:
- I've just committed the first major step to TLS support on NetBSD.
- The Alpha part is not complete at the moment, since it requires some
- changes to the context switching code I can't test. What is needed
- should be approximately:
- (1) Call PAL_wdunique in cpu_switchto to ensure that the value is
- updated.
- (2) Remove the #if 0 around __HAVE___LWP_GETPRIVATE_FAST in types.h.
-
- After a rebuild of libpthread, the ATF test cases for libpthread should
- still work.

--
Eric Schnoebelen er...@cirr.com http://www.cirr.com
Systems programmer: A person in sandals who has been in the elevator
with the senior vice president and is ultimately responsible for
a phone call you are to receive from your boss.

Joerg Sonnenberger

unread,
Mar 17, 2011, 6:31:21 PM3/17/11
to
Hi all,
this is a follow up to the earlier mail. Once the issues with the uniq
register are sorted out, the attached patch should provide the actual
relocations. Adding __HAVE_TLS_VARIANT_I to alpha/include/types.h should
be enough for the rest to work.

Joerg

alpha_reloc.c.diff
0 new messages