diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2017-04-20 16:07:53 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2017-04-20 16:07:53 +0000 |
commit | fd52bc599d337c0abf4747c96640dbf23d2af11c (patch) | |
tree | c973bcbbddab8e39948b581c1b84b96264e4b38c /include/err.h | |
parent | 6e2f0a13cd85db8adb0a3efaeb24bd189a807d95 (diff) |
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 'include/err.h')
0 files changed, 0 insertions, 0 deletions