diff options
| author | visa <> | 2017-04-20 16:07:52 +0000 |
|---|---|---|
| committer | visa <> | 2017-04-20 16:07:52 +0000 |
| commit | 4a2d94b24f6c114d4f5515899a3254df78d58f34 (patch) | |
| tree | 0a9f4fe6369afc830abb271755c3f7c76117b383 /src/lib/libc/string/wcsdup.c | |
| parent | 250858df6d6714cfd6461784ac04f1205060fb3f (diff) | |
| download | openbsd-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/libc/string/wcsdup.c')
0 files changed, 0 insertions, 0 deletions
