summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/malloc-wrapper.c
diff options
context:
space:
mode:
authorvisa <>2017-04-20 16:07:52 +0000
committervisa <>2017-04-20 16:07:52 +0000
commit4a2d94b24f6c114d4f5515899a3254df78d58f34 (patch)
tree0a9f4fe6369afc830abb271755c3f7c76117b383 /src/lib/libcrypto/malloc-wrapper.c
parent250858df6d6714cfd6461784ac04f1205060fb3f (diff)
downloadopenbsd-4a2d94b24f6c114d4f5515899a3254df78d58f34.tar.gz
openbsd-4a2d94b24f6c114d4f5515899a3254df78d58f34.tar.bz2
openbsd-4a2d94b24f6c114d4f5515899a3254df78d58f34.zip
Get TCB address using the RDHWR instruction instead of __get_tcb().
This gives fast access to the address on systems that implement the UserLocal register. TCB caching is still used when running in the single-threaded mode in order not to penalize old systems. The kernel counterpart of this change must be in place before using this diff! With guenther@
Diffstat (limited to 'src/lib/libcrypto/malloc-wrapper.c')
0 files changed, 0 insertions, 0 deletions