History log of /openbsd/sys/arch/m88k/include/tcb.h (Results 1 – 6 of 6)
Revision Date Author Comments
# d74b3acf 11-Dec-2019 guenther <guenther@openbsd.org>

%r26 hasn't been used by the threads implementation since 2016, so stop
resetting it in child_return() and update the comment in tcb.h to reflect
reality

ok miod@ aoyama@


# d031e57e 15-Feb-2017 miod <miod@openbsd.org>

Make this build (and run) with gcc 4.


# 96b8842b 04-Sep-2016 guenther <guenther@openbsd.org>

TCB_GET_MEMBER() is no longer used after the TIB changes


# 2df76cc2 29-Mar-2014 guenther <guenther@openbsd.org>

It's been a quarter century: we can assume volatile is present with that name.

ok dlg@ mpi@ deraadt@


# cf143958 26-Aug-2013 miod <miod@openbsd.org>

Use %r27 as the thread control block pointer, allowing for __get_tcb() calls
in libpthread to be optimized away.

While there, follow DG/UX's example of using more than one register for thread
purpos

Use %r27 as the thread control block pointer, allowing for __get_tcb() calls
in libpthread to be optimized away.

While there, follow DG/UX's example of using more than one register for thread
purposes (after all, the ABI reserves four of them), and also use %r26 to store
a pointer to the current thread's errno.

Since it is not possible to initialize %r26 at thread creation without
intrusive and potentially race-prone changes, have __tfork() reset %r26 to
zero, and libpthread's __cerror lazy initialize it. As soon as %r26 is nonzero,
it will be used instead of calling __errno().

This means that binaries linked against HEAD libpthread need to run on HEAD
kernels, and we are belatedly jumping on the 64-bit time_t bump (since there
are no 64-bit time_t m88k snapshots yet).

Joint work with guenther@; "Your love of asm is sick and wrong, and yet
beautiful." and ok guenther@

show more ...


# 022e6e66 27-Oct-2011 guenther <guenther@openbsd.org>

Specify the TLS variant for each platform.