diff options
| author | visa <> | 2017-04-20 16:07:52 +0000 |
|---|---|---|
| committer | visa <> | 2017-04-20 16:07:52 +0000 |
| commit | 30d54f666e57ad1b211e2356d46da195a9935c29 (patch) | |
| tree | 0a9f4fe6369afc830abb271755c3f7c76117b383 /src/lib/libc/stdlib/getenv.c | |
| parent | 7d8960b945f47f7667a4f550de3b737486cdb9cf (diff) | |
| download | openbsd-30d54f666e57ad1b211e2356d46da195a9935c29.tar.gz openbsd-30d54f666e57ad1b211e2356d46da195a9935c29.tar.bz2 openbsd-30d54f666e57ad1b211e2356d46da195a9935c29.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/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions
