Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/arch/sparc/gen/_lwp.c
RevisionDateAuthorComments
 1.10  24-Apr-2025  riastradh sparc _lwp_makecontext, makecontext: Sort includes.

No functional change intended.

Tidying up for:

PR kern/59327: user stack pointer is not aligned properly
 1.9  24-Apr-2025  martin include <sys/param.h> for STACK_ALIGNBYTES
 1.8  24-Apr-2025  riastradh sparc: Use STACK_ALIGNBYTES macro when aligning stack pointer.

Prompted by:

PR kern/59327: user stack pointer is not aligned properly
 1.7  21-Mar-2012  christos branches: 1.7.44;
void cast
 1.6  24-Feb-2011  joerg branches: 1.6.4;
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.
 1.5  28-Apr-2008  martin branches: 1.5.8; 1.5.20;
Remove clause 3 and 4 from TNF licenses
 1.4  12-Jun-2005  lukem branches: 1.4.18;
Add missing __RCSID()
 1.3  07-Apr-2003  kleink Make sure we reference getcontext() by its internal name.
 1.2  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1  23-Nov-2002  martin branches: 1.1.2;
file _lwp.c was initially added on branch nathanw_sa.
 1.1.2.4  16-Jan-2003  thorpej Add missing notice.
 1.1.2.3  18-Dec-2002  skrll Fix up after change to mcontext.h
 1.1.2.2  29-Nov-2002  uwe Clean up remaining sparc64'isms. Beautify it a bit.
XXX: keep the code that sets %i6 and %i7 in the window save area,
though I think it's not necessary.
 1.1.2.1  23-Nov-2002  martin Add the new files to the Makefile (oops!), fix a small glitch in
makecontext and add _lwp.c (nearly verbatim copy or the sparc64 one).
 1.4.18.1  18-May-2008  yamt sync with head.
 1.5.20.1  05-Mar-2011  bouyer Sync with HEAD
 1.5.8.2  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1  28-Apr-2008  martin file _lwp.c was added on branch christos-time_t on 2008-04-28 20:22:58 +0000
 1.6.4.1  17-Apr-2012  yamt sync with head
 1.7.44.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed