NetBSD/lib/libpthread/arch
joerg 1631a78097 Allow storing and receiving the LWP private pointer via ucontext_t
on all platforms except VAX and IA64. Add fast access via register for
AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace
the stack based pthread_self(). Implement skeleton support for Alpha,
HPPA, PowerPC, SPARC and SPARC64, but leave it disabled.

Ports that support this feature provide __HAVE____LWP_GETPRIVATE_FAST in
machine/types.h and a corresponding __lwp_getprivate_fast in
machine/mcontext.h.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.
2011-02-24 04:28:41 +00:00
..
alpha make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
arm make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
hppa make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
i386 Allow storing and receiving the LWP private pointer via ucontext_t 2011-02-24 04:28:41 +00:00
m68k make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
mips make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
powerpc make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
powerpc64 make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
sh3 make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
sparc make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
sparc64 make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
vax make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
x86_64 make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00