HomeFreeBSD

libthr: Use <machine/tls.h> for most MD TLS details.

Description

libthr: Use <machine/tls.h> for most MD TLS details.

Note that on amd64 this effectively removes the unused tcb_spare field
from the end of struct tcb since the definition of struct tcb in
<x86/tls.h> does not include that field.

Reviewed by: kib, jrtc27
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33352

Details

Provenance
jhbAuthored on Dec 9 2021, 9:17 PM
Reviewer
kib
Differential Revision
D33352: libthr: Use <machine/tls.h> for most MD TLS details.
Parents
rG1a62e9bc0046: Add <machine/tls.h> header to hold MD constants and helpers for TLS.
Branches
Unknown
Tags
Unknown