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

(cherry picked from commit 75395023ff1edaf4832389716338b1ba12121ffe)

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
rG25f14b19c6ec: Add <machine/tls.h> header to hold MD constants and helpers for TLS.
Branches
Unknown
Tags
Unknown